Merge lp:~yann-papouin/ocb-addons/6.1-bug-1234678-return-product-backorder-false into lp:ocb-addons/6.1
Proposed by
Yann Papouin
Status: | Merged |
---|---|
Merged at revision: | 6819 |
Proposed branch: | lp:~yann-papouin/ocb-addons/6.1-bug-1234678-return-product-backorder-false |
Merge into: | lp:ocb-addons/6.1 |
Diff against target: |
21 lines (+8/-3) 1 file modified
stock/wizard/stock_return_picking.py (+8/-3) |
To merge this branch: | bzr merge lp:~yann-papouin/ocb-addons/6.1-bug-1234678-return-product-backorder-false |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Omar (Pexego) | code review | Abstain | |
Guewen Baconnier @ Camptocamp | code review | Approve | |
Holger Brunn (Therp) | code review | Approve | |
Review via email: mp+189069@code.launchpad.net |
Description of the change
To post a comment you must log in.
Hi Yann,
backorder_id is set to False in the copy method of stock.picking object in the stock module, but only when name not in default or default['name'] == '/'. Then, I think, the good fix should be in the copy method, extract this line out of this condition, not here.
Regards