summaryrefslogtreecommitdiff
path: root/addons/web/static/src/css
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2015-04-28 11:49:47 +0200
committerRaphael Collet <rco@openerp.com>2015-04-28 11:49:47 +0200
commit0280a5f390a78360a3906ddf7f24f67efe60305f (patch)
treed181f133a3280eaaa223ae31562dc87a207a8853 /addons/web/static/src/css
parent165575b6abc7ea368ad3043dcd4d2c591b84db20 (diff)
[FIX] fields: do not infer a related field to be required
Forcing a related field to be required causes some issues. Having such a field in a one2many relation may block the creation of records in the field, as the main record does not exist yet, and the field has no value. It may also cause trouble if the field is stored: being required constrains the corresponding column to be NOT NULL. Inserting a row will fail, because related fields are currently determined *after* the row insertion.
Diffstat (limited to 'addons/web/static/src/css')
0 files changed, 0 insertions, 0 deletions