diff options
| author | Raphael Collet <rco@openerp.com> | 2014-10-09 17:22:42 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2014-10-13 13:44:07 +0200 |
| commit | 5db84cb07ee2d23a11c7167fe2d4f6ca9d200b41 (patch) | |
| tree | 31bfc7f9c5a56c98f015559bf375d8cd8eb8b2cc /addons/web/static | |
| parent | 044ed06feccf365f92f032a50596fdb451bea4bc (diff) | |
[IMP] models: do not use compute methods to determine default values anymore
Compute methods could give results that should not be considered as default
values. For instance, a related field usually defaults to a null value, which
is then set to the field with its inverse method by create(). This may violate
a non-null constraint if the original field is required. Therefore, compute
methods are no longer used to determine default values.
Diffstat (limited to 'addons/web/static')
0 files changed, 0 insertions, 0 deletions
