mirror of
https://github.com/brain-tec/account_ebics.git
synced 2024-11-23 20:52:04 +00:00
fix acl error on ir.module.module
This commit is contained in:
parent
ae094fc0b9
commit
1f0cff2d33
@ -137,7 +137,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', '=', module),
|
[('name', '=', module),
|
||||||
('state', '=', 'installed')])
|
('state', '=', 'installed')])
|
||||||
if not mod:
|
if not mod:
|
||||||
|
Loading…
Reference in New Issue
Block a user