summaryrefslogtreecommitdiff
path: root/addons/web_editor/static/lib/summernote/src
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2018-05-07 11:36:39 +0200
committerPierre Masereel <pim@odoo.com>2018-05-07 13:22:14 +0200
commit0ae3e5a8b4180162c18a1f1f106855851e92e2ae (patch)
tree58142a3de0a59b82efdc2d5ea8f882dcb1f21a51 /addons/web_editor/static/lib/summernote/src
parentf5ab17dd538de71c74ddc146f35cd99114c3324b (diff)
[FIX] stock: change uom on product constraint
When we change the the uom of a product, a user error is triggered if there are already moves created for this product. But if the product is archived, the call to mapped('product_variant_ids') doesn't return any product ids, so no moves are found and you can change the uom. To fix this behaviour that can lead to bad configurations, because quants and moves won't be in the same unit than the product's one.
Diffstat (limited to 'addons/web_editor/static/lib/summernote/src')
0 files changed, 0 insertions, 0 deletions