mirror of
https://github.com/brain-tec/account_ebics.git
synced 2026-10-16 15:59:09 +00:00
fix acl error on ir.module.module
This commit is contained in:
1 parent
14c11d923b
commit
f71f81227d
1 file changed
+1
-1
@@ -139,7 +139,7 @@ class EbicsFile(models.Model):
|
|||||||
return res
|
return res
|
||||||
|
|
||||||
def _check_import_module(self, module):
|
def _check_import_module(self, module):
|
||||||
mod = self.env['ir.module.module'].search(
|
mod = self.env['ir.module.module'].sudo().search(
|
||||||
[('name', '=like', module),
|
[('name', '=like', module),
|
||||||
('state', '=', 'installed')])
|
('state', '=', 'installed')])
|
||||||
if not mod:
|
if not mod:
|
||||||
|
|||||||
Reference in new issue
Block a user