From 83a454c50f9840c7aabc35605dfc990ab62cd073 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 07eabf8..b6e3b19 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -144,7 +144,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: