diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2018-06-07 10:25:11 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2018-06-12 13:12:39 +0200 |
| commit | e60a8762fb99c2290a14077216f8f1f7ce870c07 (patch) | |
| tree | 1874a1aa3eb3a8de7902924388a42e1ef3631381 /setup/setup_dev.py | |
| parent | fe15b7a1f03959cd2f453ce97b26920f20453398 (diff) | |
[FIX] base: depends if no depends is ()
With saas-11.2's 3fbd86b some trigger towards other fields are improved
but this caused an issue when a inherited field towards a custom
computed field had no depends.
When we created a computed field x_custo on res.partner, we have a
inherited x_custo on res.users automatically created.
Both these fields have a depends computed to `('',)`, this caused an
error for the one on res.partner: but this was ignored with dd048ae7.
Since saas-11.2's 3fbd86b this also caused an error on the inherited
field but since an inherited field is not "manual" the error was not
ignored. Thus it was not possible to create custom field on a model
inheriting of another model if the fields had no depends.
opw-1854786
closes #25146
Co-authored-by: Raphael Collet <rco@odoo.com>
Diffstat (limited to 'setup/setup_dev.py')
0 files changed, 0 insertions, 0 deletions
