You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[FIX] util/fields: handle o2m when removing relation field
`relation_field_id` is an ON DELETE CASCADE FK. This triggers the
removal of entries in `ir_model_fields` when we remove a field
referenced by an o2m field. This action leaves many (metadata) leftovers
for manual fields. To avoid potential issues we call `remove_field` on
such fields. That way the full cleanup (domains, contexts, filters,
etc.) happens.
We also now warn about compute implementation of manual fields if we
detect that the implementation may refer to a field being removed from
the depends.
closes#321
Signed-off-by: Christophe Simonis (chs) <[email protected]>
0 commit comments