mirror of
https://github.com/OCA/reporting-engine.git
synced 2025-02-16 16:30:38 +02:00
[FIX] report_py3o: Access to ir.config_parameter with sudo
This commit is contained in:
committed by
Elmeri Niemelä
parent
e5e6e9d379
commit
ac6fc4eaaf
@@ -106,7 +106,7 @@ class IrActionsReport(models.Model):
|
||||
|
||||
@api.model
|
||||
def _get_lo_bin(self):
|
||||
lo_bin = self.env['ir.config_parameter'].get_param(
|
||||
lo_bin = self.env['ir.config_parameter'].sudo().get_param(
|
||||
PY3O_CONVERSION_COMMAND_PARAMETER, 'libreoffice',
|
||||
)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user