← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~yann-papouin/ocb-addons/7.0-bug-1234678-return-product-backorder-false into lp:ocb-addons

 

Yann Papouin has proposed merging lp:~yann-papouin/ocb-addons/7.0-bug-1234678-return-product-backorder-false into lp:ocb-addons.

Requested reviews:
  OpenERP Community Backports Team (ocb)
Related bugs:
  Bug #1234678 in OpenERP Community Backports (Addons): "[6.1][7.0][trunk][stock] Return a product must drop backorder data"
  https://bugs.launchpad.net/ocb-addons/+bug/1234678

For more details, see:
https://code.launchpad.net/~yann-papouin/ocb-addons/7.0-bug-1234678-return-product-backorder-false/+merge/210170

Automatically derived from https://code.launchpad.net/~yann-papouin/openobject-addons/7.0-bug-1234678-return-product-backorder-false for https://code.launchpad.net/~openerp/openobject-addons/7.0.
-- 
https://code.launchpad.net/~yann-papouin/ocb-addons/7.0-bug-1234678-return-product-backorder-false/+merge/210170
Your team OpenERP Community Backports Team is requested to review the proposed merge of lp:~yann-papouin/ocb-addons/7.0-bug-1234678-return-product-backorder-false into lp:ocb-addons.
=== modified file 'stock/wizard/stock_return_picking.py'
--- stock/wizard/stock_return_picking.py	2013-09-10 07:20:14 +0000
+++ stock/wizard/stock_return_picking.py	2014-03-10 10:18:10 +0000
@@ -176,6 +176,7 @@
                                         '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'],


Follow ups