Skip to content

Commit

Permalink
[MRG] stock: drop backorder data when returning product
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-papouin authored and Stefan Rijnhart committed Jul 2, 2014
1 parent 799ddaf commit c3bc1f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/stock/wizard/stock_return_picking.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def create_returns(self, cr, uid, ids, context=None):
'name': _('%s-%s-return') % (new_pick_name, pick.name),
'move_lines': [],
'state':'draft',
'backorder_id': False,
'type': new_type,
'date':date_cur,
'invoice_state': data['invoice_state'],
Expand Down

0 comments on commit c3bc1f8

Please sign in to comment.