summaryrefslogtreecommitdiff
path: root/addons/maintenance
diff options
context:
space:
mode:
authorMohit Ghodasara <mgh@odoo.com>2019-01-31 10:45:06 +0000
committerThibault Delavallée <tde@odoo.com>2019-02-05 11:32:14 +0000
commitbbd64c22abc19558c1d83a892fc426bf99a094ce (patch)
tree09a9db8350395bf543980e339265ee7e33b3733d /addons/maintenance
parent0db0e66e96a8f6b393565da6fbb8dce25ec960b7 (diff)
[IMP] various: prevent unlink of automated activity types
Purpose of this merge is to update main addons and set activity types used for automated activities as master data. This means they cannot be removed. Indeed those activity types are used in business flow to generate activities and removing them may break some flows. This commit is linked to task ID 1907970 and PR #29257.
Diffstat (limited to 'addons/maintenance')
-rw-r--r--addons/maintenance/data/mail_data.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/maintenance/data/mail_data.xml b/addons/maintenance/data/mail_data.xml
index dd80a831723..d298a0fb55d 100644
--- a/addons/maintenance/data/mail_data.xml
+++ b/addons/maintenance/data/mail_data.xml
@@ -6,6 +6,7 @@
<field name="name">Maintenance Request</field>
<field name="icon">fa-wrench</field>
<field name="res_model_id" ref="maintenance.model_maintenance_request"/>
+ <field name="is_master_data">True</field>
</record>
<!-- email alias for maintenance requests -->