summaryrefslogtreecommitdiff
path: root/addons/note/data
diff options
context:
space:
mode:
authorWilliam Henrotin <whe@odoo.com>2020-03-24 09:14:40 +0000
committerWilliam Henrotin <whe@odoo.com>2020-03-26 13:00:26 +0000
commitb6c629922d9ebf2d2fb0f52f13b1648c49bca36f (patch)
tree4f173f86d907f38e50e8cc61f73e6685242e2937 /addons/note/data
parenta6d38439d590a4a9cfb02309a738f7550b10399b (diff)
[FIX] stock,mrp: change procure method at cancellation
Usecase : sell a mto/manufacture product. Confirm the sale order. Cancel the delivery and the production then duplicate the delivery. - if the delivery was cancelled before the production, another production is created. - if the delivery was cancelled after the production, no other production is created. In the second case, the production cancellation will reset the procure method of the delivery. The duplication will not trigger the mto procurement. This commit will override the procure method of each cancelled moves and set it to `make_to_stock'. This way, we have the same behavior independently of the flow. Task : 2212125 closes odoo/odoo#48366 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/note/data')
0 files changed, 0 insertions, 0 deletions