summaryrefslogtreecommitdiff
path: root/addons/web/static/tests/fields/basic_fields_tests.js
diff options
context:
space:
mode:
authorwan <wan@odoo.com>2019-09-18 12:10:07 +0000
committerwan <wan@odoo.com>2019-09-20 13:59:21 +0000
commitd3ddcc613f873b2f7073c45fea16c1f57abe278a (patch)
treee527f98e564941b861217ac0571e671b6770ad74 /addons/web/static/tests/fields/basic_fields_tests.js
parente41f468972b606801e4f663863a92896ac82e5a3 (diff)
[FIX] account: constraint on empty account
If SQL, if you do ```display_type IN ('line_section', 'line_note') OR account_id IS NOT NULL``` and `display_type` is `NULL` then you can only have `'t'` because `SELECT NULL OR 'f';` yields `NULL` `SELECT NULL OR 't';` yields `'t'` The check of NULL is not blocking, hence the constraint doesn't work. closes odoo/odoo#37075 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/tests/fields/basic_fields_tests.js')
0 files changed, 0 insertions, 0 deletions