Merge lp://qastaging/~numerigraphe/openobject-addons/trunk-extra-sale_picking_reservation-procurements into lp://qastaging/openobject-addons/extra-trunk

Proposed by Numérigraphe
Status: Needs review
Proposed branch: lp://qastaging/~numerigraphe/openobject-addons/trunk-extra-sale_picking_reservation-procurements
Merge into: lp://qastaging/openobject-addons/extra-trunk
Diff against target: 77 lines (+25/-5)
3 files modified
sale_picking_reservation/__openerp__.py (+1/-1)
sale_picking_reservation/sale.py (+16/-3)
sale_picking_reservation/stock_workflow.xml (+8/-1)
To merge this branch: bzr merge lp://qastaging/~numerigraphe/openobject-addons/trunk-extra-sale_picking_reservation-procurements
Reviewer Review Type Date Requested Status
OpenERP Committers Pending
Sébastien BEAU - http://www.akretion.com original committer Pending
Review via email: mp+96196@code.qastaging.launchpad.net

Description of the change

This branch changes sale_picking_reservation so that canceling reservations also cancels the associated procurements.
Otherwise, goods will be purchased or manufactured for nothing.

You can't delete the pickings and cancel the procurements, so I propose to cancel the pickings instead of deleting them.
To this end I added a missing transition to the picking workflow.
Canceling the picking raises exceptions in procurements, which can then be canceled.
Lionel Sausin.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches