[FIX] report_py3o: Access to ir.config_parameter with sudo

pull/445/head
Laurent Mignon (ACSONE) 2019-02-05 18:22:15 +01:00 committed by Elmeri Niemelä
parent e5e6e9d379
commit ac6fc4eaaf
1 changed files with 1 additions and 1 deletions

View File

@ -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: