summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2019-10-07 09:14:52 +0000
committerArnold Moyaux <arm@odoo.com>2019-10-08 11:38:42 +0000
commit2cf3377fdbbd45b031baae5bbe1d5938fe33e70f (patch)
tree3dbe756726d95eec46c49c466a2a6f22c83784b7 /doc/reference
parent1ac5ba040e304d6d23912b7364b490acdbb68865 (diff)
[FIX] sale_stock: so line creation launch procurements twice
Use case to reproduce: - Create a SO and confirm it - Add a new line with a consumable/storable product -> The delivery order contains the new lines but with the double of required quantity. Due to commit cb618e9a99ea3b86fdeed0295168a1e9fd7cddc3 that try to lauch procurement in bacth. Howerver The create from sale.order.line was not removed and the _action_launch_procurement were launched twice (in sale.order write + sale.order.line create). The fix could remove the create function from sale.order.line but the drawback is that everytime a sale.order.line is created/edited then it should pass through the sale.order 'write' method. That would create a lot of issue in the future compare to the small gain of performance for a correction. Task-2077129 closes odoo/odoo#38187 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'doc/reference')
0 files changed, 0 insertions, 0 deletions