diff options
| author | Mohit Ghodasara <mgh@odoo.com> | 2019-01-31 10:45:06 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-02-05 11:32:14 +0000 |
| commit | bbd64c22abc19558c1d83a892fc426bf99a094ce (patch) | |
| tree | 09a9db8350395bf543980e339265ee7e33b3733d /addons/fleet/data/mail_data.xml | |
| parent | 0db0e66e96a8f6b393565da6fbb8dce25ec960b7 (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/fleet/data/mail_data.xml')
| -rw-r--r-- | addons/fleet/data/mail_data.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/fleet/data/mail_data.xml b/addons/fleet/data/mail_data.xml index 0fb2cbc3c96..401f115b87b 100644 --- a/addons/fleet/data/mail_data.xml +++ b/addons/fleet/data/mail_data.xml @@ -5,6 +5,7 @@ <field name="name">Contract to Renew</field> <field name="icon">fa-car</field> <field name="res_model_id" ref="fleet.model_fleet_vehicle_log_contract"/> + <field name="is_master_data">True</field> </record> <record id="mt_fleet_driver_updated" model="mail.message.subtype"> |
