From c5f1f10368959da1c667c6cb1851b0d1e02072a8 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 28 Jan 2021 18:30:10 +0100 Subject: [PATCH] fix acl error on ir.module.module --- account_ebics/models/ebics_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_ebics/models/ebics_file.py b/account_ebics/models/ebics_file.py index b8283c6..dfd82b6 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -136,7 +136,7 @@ class EbicsFile(models.Model): return res def _check_import_module(self, module): - mod = self.env['ir.module.module'].search( + mod = self.env['ir.module.module'].sudo().search( [('name', '=', module), ('state', '=', 'installed')]) if not mod: