diff options
| author | jem-odoo <jem@openerp.com> | 2018-04-12 10:10:30 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-04-16 14:32:25 +0200 |
| commit | fb323d0068e673167ad7c89f5bd1732088c4ab3d (patch) | |
| tree | 7784443beaf0e95a650339aa223b76c3ce6822d7 /addons/web/static/src/js/fields/basic_fields.js | |
| parent | a8bf8f6e4d3bf5998fe73cb4bdbd9966137e08c7 (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/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
