summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorArnold Moyaux <arm@odoo.com>2017-12-20 10:53:49 +0100
committerArnold Moyaux <arm@odoo.com>2017-12-20 13:39:36 +0100
commit0322f6e51f41f92b3531942b0923dfe74cfcd26a (patch)
tree7797cbe0f44619bb025dc1821ed1c373128ff2c6 /addons/web/static/src/js/fields/basic_fields.js
parentd8f1935068c1e3aa42287efc60ac82f7f4eec7f5 (diff)
[FIX] stock: return with a different uom.
Usecase to reproduce: - Create a new unit of measure "Pack of 6" of UoM Categ = units - Create a new product: Coca cola can, sell in unit, purchase in packs - Create a PO, buy 1 pack of this product - Receive the pack from the delivery order - On the picking you just received, click on return -> If you validate the wizard by clicking on "return", you get 6 packs, so you multiply by 6 the amounts of what you send as the system changed the quantity but not the Uom It happens because the system compute the quanity to returns in terms of quant uom but when creating the return move it copies the origin move uom. This commit uses the quant uom on the return move and also adds the uom in the view in order to be less confusing for the end user. opw-800566
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions