From 1f0cff2d3305ad8b9f58dfa76edacf24ea66d9b0 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 5548cbf..d747d16 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -137,7 +137,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: