From f71f81227d55754a320c143afeb7ec52fa7873fb 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 80dabf2..e11dd12 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -139,7 +139,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', '=like', module), ('state', '=', 'installed')]) if not mod: