summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2017-09-15 13:55:27 +0200
committerPierre Masereel <pim@odoo.com>2017-09-15 14:51:03 +0200
commitab31d43fb98df941caf523c058247eba27ebf2a5 (patch)
tree63a11b10330df19f04ffd4fc80208886cd8f2118 /addons/web/static/tests/fields/basic_fields_tests.js
parentb1368d56bed76fa3c172da7be971ef47c9c45627 (diff)
[FIX] stock: stock user create lot
When a stock user want to create a lot an exception is raised saying that he cannot modify a product. This is caused by the field 'product_uom_id' on the model 'stock.production.lot' that is a related to 'product.product' and not set as readonly in the 'stock.production.lot' view. So by setting it as readonly, we don't set the uom to the server, and so don't try to re-write it on the product
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions