Add group on cron field to avoid access error when user does not have the right to read crons.

This commit is contained in:
Florian da Costa
2019-07-02 15:58:03 +02:00
committed by Sylvain LE GAL
parent 94f864c387
commit 9c8895782a

View File

@@ -19,7 +19,7 @@
<field name="mail_user_ids" nolabel="1"/>
</group>
<group string="Crons" groups="base.group_system">
<field name="cron_ids" nolabel="1" domain="[('function', '=', '_run_all_sql_export_for_cron')]"/>
<field name="cron_ids" nolabel="1" domain="[('function', '=', '_run_all_sql_export_for_cron')]" groups="base.group_system"/>
</group>
</group>
</group>