summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/basic_fields.js
diff options
context:
space:
mode:
authorNans Lefebvre <len@odoo.com>2019-08-02 11:59:05 +0000
committerNans Lefebvre <len@odoo.com>2019-09-12 14:03:06 +0000
commit459e6dc1d296c6fca11984c88046aa17ad32b026 (patch)
tree6a4f731f37245d096b9c8244716c38464b9e4668 /addons/web/static/src/js/fields/basic_fields.js
parent0dccd432f1bc156ff9494d84cb17c220f1bae291 (diff)
[FIX] base: check group constraints when adding implied groups
Since commit 5f12e244f6e, the write of implied groups is done directly in SQL, bypassing the ORM writes, and thus bypassing the python constraints checks. In particular such a constraint was added in f206714af08. We add back an explicit check of this constraint; however we rewrite it in SQL to be fast. closes odoo/odoo#35411 closes odoo/odoo#36769 Signed-off-by: Nans Lefebvre (len) <len@odoo.com> Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions