diff options
| author | Christophe Simonis <chs@odoo.com> | 2019-03-12 10:29:51 +0000 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2019-03-12 10:29:51 +0000 |
| commit | 2602642a78dff6c15d615fadf4c55a6b6ca315df (patch) | |
| tree | a76202e4f562bd98585006becdc1a75bb1e7f0e4 /addons/hr_expense/data/mail_data.xml | |
| parent | 6207391276369143b88c08f5fad6d2d273a7575f (diff) | |
[IMP] mail,*: remove useless field `is_master_data`
This field is a non-sense. By using the same logic, it should be added
to any low level model.
Replace the check by a simple verification of presence of an XMLID.
A more generic opt-in solution should be integrated into ORM.
Partially revert commits 0db0e66e96a8f6b393565da6fbb8dce25ec960b7 and
bbd64c22abc19558c1d83a892fc426bf99a094ce.
See #29257 odoo/enterprise#3550
closes odoo/odoo#31778
Signed-off-by: Christophe Simonis <chs@odoo.com>
Diffstat (limited to 'addons/hr_expense/data/mail_data.xml')
| -rw-r--r-- | addons/hr_expense/data/mail_data.xml | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/hr_expense/data/mail_data.xml b/addons/hr_expense/data/mail_data.xml index 06c497b4176..735771fbff7 100644 --- a/addons/hr_expense/data/mail_data.xml +++ b/addons/hr_expense/data/mail_data.xml @@ -6,7 +6,6 @@ <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 --> |
