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
Alexis de Lattre
parent
1863c8db45
commit
8b586a02de
@@ -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