diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2015-07-07 11:00:58 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2015-07-07 11:25:19 +0200 |
| commit | 9fa7624e254bf63df26e39fc8d55295ccb5c3c5e (patch) | |
| tree | c01a556345d6c20b00ff482a07c538069858f2da /addons/document/document.py | |
| parent | 34b9f43011b1e92d998ed25a5ebbc74a6293c266 (diff) | |
[FIX] stock: onchange_quantity and onchange_uos_quantity use rounding
It is necessary to round the quantities with the appropriate precision. Indeed,
since onchange_quantity and onchange_uos_quantity trigger each other indirectly,
it is quite easy to fall in an infinite loop if the uom and uos precisions are
different.
Follows commit 6e346f0adbf6b62347b1d86429a345fc0ac2ae26
opw-643651
Diffstat (limited to 'addons/document/document.py')
0 files changed, 0 insertions, 0 deletions
