From 12d59f0a2316cfd404496b655296617ec1004fc4 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 a2db783..8406cfa 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -135,7 +135,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: