mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[ADD] sql_export: Allow keeping generated file
This commit is contained in:
@@ -41,6 +41,10 @@ class SqlExport(models.Model):
|
||||
default="utf-8",
|
||||
)
|
||||
|
||||
keep_generated_file = fields.Boolean(
|
||||
help="Check this to keep generated export files as attachments"
|
||||
)
|
||||
|
||||
def _compute_use_properties(self):
|
||||
for rec in self:
|
||||
rec.use_properties = bool(rec.query_properties_definition)
|
||||
|
||||
Reference in New Issue
Block a user