diff options
| author | Pierre Masereel <pim@odoo.com> | 2017-09-15 13:55:27 +0200 |
|---|---|---|
| committer | Pierre Masereel <pim@odoo.com> | 2017-09-15 14:51:03 +0200 |
| commit | ab31d43fb98df941caf523c058247eba27ebf2a5 (patch) | |
| tree | 63a11b10330df19f04ffd4fc80208886cd8f2118 /addons/web/static/src/js/views/basic | |
| parent | b1368d56bed76fa3c172da7be971ef47c9c45627 (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/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
