mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[MIG] sql_export_mail from OCA/server-tools 14.0 to OCA/reporting-engine 16.0 branch
- Update views, regarding changes in sql_export module - Add prepare function for cron vals
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
name="create_cron"
|
||||
string="Create Cron"
|
||||
type="object"
|
||||
groups="base.group_system"
|
||||
attrs="{'invisible': ['|', ('state', '=', 'draft'), ('mail_user_ids', '=', [(6, False, [])])]}"
|
||||
/>
|
||||
</button>
|
||||
@@ -21,21 +20,27 @@
|
||||
attrs="{'invisible': [('cron_ids', '=', [(6, False, [])])]}"
|
||||
/>
|
||||
</field>
|
||||
<group name="parameters" position="after">
|
||||
<group groups="sql_request_abstract.group_sql_request_user">
|
||||
<group string="Users Notified by e-mail">
|
||||
<field name="mail_user_ids" nolabel="1" />
|
||||
</group>
|
||||
<group string="Crons" groups="base.group_system">
|
||||
<field
|
||||
<page name="page_sql" position="after">
|
||||
<page name="page_mail" string="Mail">
|
||||
<group string="Users Notified by e-mail">
|
||||
<field
|
||||
name="mail_user_ids"
|
||||
nolabel="1"
|
||||
widget="many2many_tags"
|
||||
colspan="2"
|
||||
/>
|
||||
</group>
|
||||
<group string="Crons">
|
||||
<field
|
||||
name="cron_ids"
|
||||
nolabel="1"
|
||||
colspan="2"
|
||||
domain="[('model_id', '=', 'sql.export')]"
|
||||
groups="base.group_system"
|
||||
/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
|
||||
</page>
|
||||
</page>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user