summaryrefslogtreecommitdiff
path: root/addons/mail/wizard/mail_compose_message.py
diff options
context:
space:
mode:
authorJulien Castiaux <juc@odoo.com>2019-07-19 12:45:29 +0000
committerJulien Castiaux <juc@odoo.com>2019-07-22 14:01:14 +0000
commitc1d63fc599719ad9858cfcc6904eaeee1014ef06 (patch)
tree85aa179c22bb5958b3e86ec14eaca66127a0f0ef /addons/mail/wizard/mail_compose_message.py
parent088edee2ce7189a734dbddff27e733cba7366578 (diff)
[FIX] stock: scrap from current picking
Steps to reproduce: 1) Make sure you don't have any piece of the product you're about to sell on hand. 2) Create two sale order, each with 10 pieces of the product and validate them 3) Do a RFQ and buy 15 pieces. 4) On the earliest sale order, check the availability, it should autofill the desired quantity with 10 5) Do the same on the second, it autofills 5. 6) On the later delivery, scrap one. => The product is scrapped from the early picking. Sort the candidates so the current picking is on top, this ensure the current picking is the first scraped. opw-2036381 closes odoo/odoo#35021 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Diffstat (limited to 'addons/mail/wizard/mail_compose_message.py')
0 files changed, 0 insertions, 0 deletions