summaryrefslogtreecommitdiff
path: root/addons/website_customer
diff options
context:
space:
mode:
authorSimon Lejeune <sle@openerp.com>2019-12-05 13:58:04 +0000
committerSimon Lejeune <sle@openerp.com>2019-12-10 09:02:53 +0000
commit80b55624c855820d2a49882974676e4d9c89225e (patch)
tree9e2d68b26f4088b385ae19e18ccb0da81b95777e /addons/website_customer
parent1492e1a644c1cd952876214a1be701d41dc96337 (diff)
[FIX] uom: _check_category_reference_uniqueness
Edit the liters uom (default in its category) and change its category to unit. You now have two references uom in the unit category. Try to set a third one and now it fails. This was because the constraint is implemented with an sql query but since the new ORM the update in database are delayed. We force a database update with flush so that the query gant get all the informations it needs. closes odoo/odoo#41621 X-original-commit: 68ced7972db64b22a4ff031bba0f78c06a88372d Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
Diffstat (limited to 'addons/website_customer')
0 files changed, 0 insertions, 0 deletions