diff options
| author | Nans Lefebvre <len@odoo.com> | 2019-03-15 09:49:01 +0000 |
|---|---|---|
| committer | Nans Lefebvre <len@odoo.com> | 2019-03-15 09:49:13 +0000 |
| commit | 411603f4e307fdfdd61940b14c3fe085da8ebc3d (patch) | |
| tree | 70547ac94a3aee7fb8906450e898abbb2b5342bd /addons | |
| parent | 72bc566ad8bfea5745fc3ae846d36fd897daf68a (diff) | |
[FIX] fields: safe check on ondelete cascade
In the case of attachment_ids, comodel._fields[inverse] can be res_id,
an integer field. Such fields do not have a default ondelete attribute.
opw 1945926
closes odoo/odoo#31864
Signed-off-by: Nans Lefebvre (len) <len@odoo.com>
Diffstat (limited to 'addons')
0 files changed, 0 insertions, 0 deletions
