summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-01-29 12:34:48 +0000
committerJorge Pinna Puissant <jpp@odoo.com>2019-01-30 09:28:16 +0000
commite13d449f31d0ff7b6b4d47ed49e1cea4006916a5 (patch)
treea58486d71459092bf546c5c6f1e81e58d57a26f0 /addons/web/static/src
parent326a44c3f7f754160c78649f7c6c69dc0c030d92 (diff)
[FIX] stock: Warning in picking on product with serial number
In stock.picking, in mode show detailed operation, add a product with unique serial number tracking. Before this commit, a warning about the qty is raised. This warning, must be raised only if the qty is different from 1. However this is not the case, the warning is raised at each modification of the line. This issue occurs since the rounding given to the float_compare is 0.0, because self.move_id.product_id is not set. Float_compare with a 0.0 rounding always return different, hence the bug. Now, the warning is only raised when the qty is different from 1. OPW-1932044 closes odoo/odoo#30651
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions