[FIX] odoo: import was broken for non-admin users
A check was added to prevent importing records with prefixes of existing modules: https://github.com/odoo/odoo/pull/130825 . This queries the known modules, but non-admin users don't have access to that by default, causing the import to fail for them. Allow the module query regardless of access rights. closes odoo/odoo#133300 Signed-off-by:Raphael Collet <rco@odoo.com>
Loading