mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] sql_export : rights for no "system" users
This commit is contained in:
@@ -79,7 +79,7 @@ class SqlFileWizard(models.TransientModel):
|
||||
sql_export.id,
|
||||
),
|
||||
)
|
||||
self._get_field_attachment().write(
|
||||
self._get_field_attachment().sudo().write(
|
||||
{
|
||||
"name": self.file_name,
|
||||
"mimetype": guess_type(self.file_name)[0],
|
||||
|
||||
Reference in New Issue
Block a user