Skip to content
Snippets Groups Projects
Commit 661a0cc2 authored by baa's avatar baa
Browse files

[IMP] account: auto-load invoices modules for KSA


closes odoo/odoo#79829

Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
parent 44a2a45f
No related branches found
No related tags found
No related merge requests found
......@@ -61,6 +61,8 @@ def _auto_install_l10n(env):
module_list.append('l10n_mx_edi')
if country_code == 'IT':
module_list.append('l10n_it_edi_sdicoop')
if country_code == 'SA':
module_list.append('l10n_sa_invoice')
module_ids = env['ir.module.module'].search([('name', 'in', module_list), ('state', '=', 'uninstalled')])
module_ids.sudo().button_install()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment