summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2020-01-17 16:00:51 +0000
committerSimon Lejeune <sle@openerp.com>2020-01-28 14:51:36 +0000
commit9d98c43581e2579f43b35541b43264866dede5a5 (patch)
tree7f3ba58302c61624cf503d12c4cd399b4d8c3092 /addons/mail/static/src/xml/thread.xml
parentaebce884d4531d5671030a45376cae48ce022bab (diff)
[REF] purchase_stock: push the extra quantity
With a product configured as buy on order and a warehouse configured as receipt in two steps, if the user increases the quantity on a po line generated by a sale order before confirming it, the system will send all the quantity to input but only the ordered quantity to customer. The issue is that the "extra quantity" will stay in input. We fix this issue by creating a new move with the extra quantity to the input location so that push rules will send the extra quantity to stock while the ordered quantity will be sent to the customer. There was also an issue when incrementing the quantity on the po line after confirmation if the po line was the result of a reordering rule: only a move from supplier to the location of the reordering rule was created. This commit also introduces a change of semantic: `created_purchase_line_id` is cleared after confirming the RFQ. This allows to merge more in `_merge_moves`. task-1981355 closes odoo/odoo#43545 Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
0 files changed, 0 insertions, 0 deletions