summaryrefslogtreecommitdiff
path: root/addons/web_graph/static/src
diff options
context:
space:
mode:
authorRaphael Collet <rco@openerp.com>2014-10-23 09:46:04 +0200
committerRaphael Collet <rco@openerp.com>2014-10-23 10:28:13 +0200
commitba1369fbef17cee5e61cf37fe00e8fefd22f4256 (patch)
tree5f72a8fc299ba70936323686adf837678e7704ff /addons/web_graph/static/src
parent0873613767747454b97ce0edc9cb0ce7c7067185 (diff)
[IMP] fields: infer required=True on related fields
One can infer related=True on a non-stored related field if all fields on the path are related. This cannot be done if the related field is stored: when you create a record, the database row is created first, and the related field is computed and stored afterwards. Making the field required in that case would trigger a non-null constraint violation.
Diffstat (limited to 'addons/web_graph/static/src')
0 files changed, 0 insertions, 0 deletions