summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic
diff options
context:
space:
mode:
authorJorge Pinna Puissant <jpp@odoo.com>2019-01-29 12:34:48 +0000
committerNicolas Martinelli <nim@odoo.com>2019-02-06 07:31:12 +0000
commit4f9fc188d398f45280ddbf9c61ecfad1ea476e92 (patch)
tree2236a4d0b11042b37fa8a49b18cc000613431303 /addons/web/static/src/js/views/basic
parente0b14bf9a7aa6609db1e8e76f0771d52e0257464 (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 OPW-1931378 closes odoo/odoo#30651 closes odoo/odoo#30851
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions