summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-11-27 11:09:37 +0000
committerNicolas Martinelli <nim@odoo.com>2020-11-27 13:12:10 +0000
commit4716390f8cbf7f89fad8483a8a21567860ce0d31 (patch)
tree92c12c81ab7e99330ca0af4d965afbbb308cf8f2 /addons/web/static/src/js/views/basic/basic_model.js
parent3a8247f603a02a05173ef917f9f07189ff5e01db (diff)
[FIX] mrp: UoM category mismatch
- Create Product A with UOM of type Unit - Create Product B with UOM of type Unit - Create BOM of type Kit on Product A with Product B as a component with UOM of type Unit - After saving BOM, change the UOM of Product B with UOM from another categories (e.g. kg) and save the product - Try to access product list A warning appears and prevent showing the products in any way. It is caused by the call to `_compute_quantities`. In this case, it is ok to skip the error. Indeed, it will raise later on when trying to use the kit. But at least, it gives the possibility to the user to access the product list. opw-2393711 closes odoo/odoo#62531 X-original-commit: 6de2537ac82d9dad3cb3f56a7b9b35856681a6ad Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions