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/hr_expense | |
| 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/hr_expense')
| -rw-r--r-- | addons/hr_expense/data/mail_data.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/hr_expense/data/mail_data.xml b/addons/hr_expense/data/mail_data.xml index 735771fbff7..06c497b4176 100644 --- a/addons/hr_expense/data/mail_data.xml +++ b/addons/hr_expense/data/mail_data.xml @@ -6,6 +6,7 @@ <field name="name">Expense Approval</field> <field name="icon">fa-dollar</field> <field name="res_model_id" ref="hr_expense.model_hr_expense_sheet"/> + <field name="is_master_data">True</field> </record> <!-- default alias for expenses --> |
