Commit 32f65332 authored by baa's avatar baa
Browse files

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


closes odoo/odoo#78373
Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
Showing with 2 additions and 0 deletions
+2 -0
......@@ -59,6 +59,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()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment