diff options
| author | Simon Lejeune <sle@openerp.com> | 2018-02-07 14:36:44 +0100 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2018-02-19 14:29:09 +0100 |
| commit | 97ed2e730e5addda38d396b32ff48a369d85033f (patch) | |
| tree | bcc845f089e2dba94c865f5fa1519f0159b0fade /addons/web/static/src/js/views/basic/basic_controller.js | |
| parent | d28f8f704febe030f9c068f895adf0b1ce3e8dc1 (diff) | |
[FIX] purchase, sale_stock: propagation of UOM
Before this commit, the uom defined on the sale order line and on the
purchase order line was propagated to the moves. This is not the
behaviour of v8-10 and may confuse the stock operator (one time he's
working in dozen, another time in units for example). It also leads to
rounding issues if the configuration is not adapted correctly (product's
uom is in units, sale order line is in dozen, the rouding precision on
the uom is left to their defaults, now if a dozen is partially available
there's a good chance converting back and forth form dozen to units will
break).
An ir.config_parameter was added to restore the behaviour before this
commit.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions
