summaryrefslogtreecommitdiff
path: root/addons/mail/data/mail_activity_data.xml
diff options
context:
space:
mode:
authorAdrian Torres <adt@odoo.com>2018-03-26 14:58:08 +0200
committerGitHub <noreply@github.com>2018-03-26 14:58:08 +0200
commit4265026ee23ab71e8b199a9d8cbbd439409d7a03 (patch)
treee698838531121e0fe2adc5327235a8f16b0f6f43 /addons/mail/data/mail_activity_data.xml
parenta7530a376c2587957ae948f00fc84a92c7f9a3ac (diff)
[FIX] ir_model: cascade delete custom o2m and related fields
Before this revision: * Install a module, for this example we'll use `project` * Create a o2m field or a related field whose inverse is a field from the `project` module. * Uninstall the `project` module. Result -> BOOM! The registry can't be reloaded because it can't find the inverse field of our custom field, ayayay!! After this revision, this shouldn't break the registry anymore because we create two m2o fields which will trigger cascade deletes for both o2m and related fields upon the deletion of the inverse field, these fields are both computed stored fields and they're not shown to the end user, this is all done "under the rug". Task-ID: 58808
Diffstat (limited to 'addons/mail/data/mail_activity_data.xml')
0 files changed, 0 insertions, 0 deletions