mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] sql_export_mail : do not raise an error if non admin user want to access to sql export
[UPD] README.rst [BOT] post-merge updates [BOT] post-merge updates
This commit is contained in:
committed by
Sander Lienaerts
parent
bc1df4612a
commit
4898f36f8f
@@ -20,7 +20,12 @@ class SqlExport(models.Model):
|
||||
"need to link the sql query with a cron to send mail automatically",
|
||||
)
|
||||
cron_ids = fields.Many2many(
|
||||
"ir.cron", "cron_sqlquery_rel", "sql_id", "cron_id", "Crons"
|
||||
"ir.cron",
|
||||
"cron_sqlquery_rel",
|
||||
"sql_id",
|
||||
"cron_id",
|
||||
"Crons",
|
||||
groups="base.group_system",
|
||||
)
|
||||
# We could implement other conditions, that is why it is a selection field
|
||||
mail_condition = fields.Selection(
|
||||
|
||||
Reference in New Issue
Block a user