Browse Source

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

12.0-mig-module_prototyper_last
Florian da Costa 5 years ago
parent
commit
58659727be
  1. 2
      sql_export_mail/views/sql_export_view.xml

2
sql_export_mail/views/sql_export_view.xml

@ -19,7 +19,7 @@
<field name="mail_user_ids" nolabel="1"/> <field name="mail_user_ids" nolabel="1"/>
</group> </group>
<group string="Crons" groups="base.group_system"> <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> </group>
</group> </group>

Loading…
Cancel
Save