mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-10-17 16:29:06 +00:00
fix acl error on ir.module.module
This commit is contained in:
1 parent
d06918fd17
commit
c5f1f10368
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user