Browse Source

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

14.0-report-py3o-pr-506
Laurent Mignon (ACSONE) 6 years ago
committed by default
parent
commit
120a28e736
  1. 2
      report_py3o/models/ir_actions_report.py

2
report_py3o/models/ir_actions_report.py

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

Loading…
Cancel
Save