diff options
| author | jem-odoo <jem@openerp.com> | 2018-08-23 16:24:09 +0200 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2018-08-23 17:20:47 +0200 |
| commit | 69a898cf8bb066e884039c1f239aa38ef6ccfa99 (patch) | |
| tree | 1e21de35a3c756ab11b8cf2f33db3159caa83e97 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | aa1b7072f7ca9f7ecd3938424c1228e05423b904 (diff) | |
[IMP] uom: add constraints to force reference factor
When importing big amount of data, user can import
a list of uom. There is no constraint in Odoo to
force the factor to be equal to 1.0 for the reference
UoM in a category.
Onchange is not enought to ensure that constraint,
so this commit adds one in SQL for data intergrity
and to avoid problem in '_compute_quantity'
method.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
