summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_view.js
diff options
context:
space:
mode:
authorjem-odoo <jem@openerp.com>2018-04-12 10:10:30 +0200
committerjem-odoo <jem@openerp.com>2018-04-16 14:32:25 +0200
commitfb323d0068e673167ad7c89f5bd1732088c4ab3d (patch)
tree7784443beaf0e95a650339aa223b76c3ce6822d7 /addons/web/static/src/js/views/basic/basic_view.js
parenta8bf8f6e4d3bf5998fe73cb4bdbd9966137e08c7 (diff)
[FIX] uom: avoid context key, and rather use parameter
When converting UoM, the conversion can fail if the source and destination uoM are not in the same category. By default, and error is raised, but using a context key, we can receive the initial quantity. To avoid the context key (which is not used anymore), we prefer use a dedicated parameter to be more explicit.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions