Merge lp:~openerp-dev/openobject-addons/trunk-purchase-requisition-procurement-fix-csn into lp:openobject-addons
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-addons/trunk-purchase-requisition-procurement-fix-csn |
Merge into: | lp:openobject-addons |
Diff against target: |
209 lines (+109/-6) 6 files modified
purchase/purchase.py (+2/-0) purchase/purchase_workflow.xml (+1/-1) purchase_requisition/__openerp__.py (+1/-0) purchase_requisition/purchase_requisition.py (+16/-1) purchase_requisition/purchase_requisition_view.xml (+4/-4) purchase_requisition/purchase_requisition_workflow.xml (+85/-0) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-addons/trunk-purchase-requisition-procurement-fix-csn |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Pending | ||
OpenERP Core Team | Pending | ||
Review via email: mp+168613@code.launchpad.net |
Description of the change
Using procurement to create a purchase requisition instead of a quotation was not working because procurement workflow was not correct for that case.
Modify procurement workflow to make it work with purchase requisition (this needed a workflow for the purchase requisition). Also, in order for procurement workflow to finish, we need to complete the stock move, so had to add a move_dest_id on purchase requisition object in order to forward it to quotation generated from the purchase requisition.
Unmerged revisions
- 8758. By Cedric Snauwaert (OpenERP)
-
[FIX]purchase_
requisition: missing import - 8757. By Cedric Snauwaert (OpenERP)
-
[FIX]purchase_
requisition: fix procurement workflow in case we want to create a requisition instead of a quotation when using procurement for a product. It needs to separate the workflow
I've tried to apply this patch on the v7.0. I've made few test. It worked fine.
What I'm missing here are unit-tests that could 100% approve correct behavior of procurement workflow with PR.