mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-12-25 02:41:44 +00:00
fix acl error on ir.module.module
This commit is contained in:
parent
12cf223113
commit
12d59f0a23
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user