diff options
| author | Antony Lesuisse <al@openerp.com> | 2018-09-25 14:14:19 +0200 |
|---|---|---|
| committer | Antony Lesuisse <al@openerp.com> | 2018-10-01 16:38:00 +0200 |
| commit | 192c56b48a0f333897c23c684d327c6cd43d9c50 (patch) | |
| tree | ac8e4cf22864ce1de19ea7143421de147a04005c /addons/mail | |
| parent | e51b4f659fc5e4253d3156754ada21166c8d1bf8 (diff) | |
[FIX] mail: Hide system update notification cron
Reducing the possiblity of enterprise users of locking themselves.
Diffstat (limited to 'addons/mail')
| -rw-r--r-- | addons/mail/data/ir_cron_data.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/mail/data/ir_cron_data.xml b/addons/mail/data/ir_cron_data.xml index d1012c9cae6..27ae8795804 100644 --- a/addons/mail/data/ir_cron_data.xml +++ b/addons/mail/data/ir_cron_data.xml @@ -26,7 +26,11 @@ <field eval="False" name="doall" /> <field name="priority">1000</field> </record> - + + <record id="base.ir_cron_act" model="ir.actions.act_window"> + <field name="domain" eval="[('id','!=', ref('mail.ir_cron_module_update_notification'))]"/> + </record> + <record id="ir_cron_mail_notify_channel_moderators" model="ir.cron"> <field name="name">Mail: Notify channel moderators</field> <field name="model_id" ref="model_mail_message"/> |
