Merge lp:~openerp-dev/openobject-addons/7.0-opw-605091-ado into lp:openobject-addons/7.0
Status: | Merged |
---|---|
Merged at revision: | 9939 |
Proposed branch: | lp:~openerp-dev/openobject-addons/7.0-opw-605091-ado |
Merge into: | lp:openobject-addons/7.0 |
Diff against target: |
13 lines (+2/-1) 1 file modified
procurement/procurement.py (+2/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/7.0-opw-605091-ado |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Trigaux (OpenERP) (community) | Approve | ||
Naresh(OpenERP) | Pending | ||
Review via email: mp+212352@code.launchpad.net |
Description of the change
Hello,
[FIX] stock: while cancelling purcahse order created from procurement it availables the related internal stock move which should not and also not triggering the workflow method
Steps to reproduce:
1.) Create product A (type = stockable product, procure method = make to order, supply method = buy, qty on hand = 0)
2.) Create product B(type = stockable product, procure method = make to order, supply method = manufacture, qty on hand = 0)
3.) Set a BoM on product B, which contains product A.
4.) Create a sale order for product B, and run the procurement for both A & B product
5.) The internal move for the resulting manufacturing order should have a line for product A in 'waiting another move' status, and a draft PO for product A should have been created.
6.) Now cancel that draft PO and view the internal move again. The line for product A is 'available', even though we have 0 on hand, it should not be in available state.
For more reference please refer bug: https:/
Regards,
Amit
LGTM, thanks
revno: 9939 [merge]
revision-id: <email address hidden>