Skip to content
Snippets Groups Projects
Commit a7a4552b authored by Benjamin Frantzen (bfr)'s avatar Benjamin Frantzen (bfr)
Browse files

[IMP] account: auto_install l10n_it_edi_sdicoop if main company is Italian


Task ID: 2613031

closes odoo/odoo#74305

Signed-off-by: default avatarJosse Colpaert <jco@openerp.com>
parent 1cdd1f2f
No related branches found
No related tags found
No related merge requests found
......@@ -59,6 +59,8 @@ def _auto_install_l10n(env):
module_list.append('base_vat')
if country_code == 'MX':
module_list.append('l10n_mx_edi')
if country_code == 'IT':
module_list.append('l10n_it_edi_sdicoop')
module_ids = env['ir.module.module'].search([('name', 'in', module_list), ('state', '=', 'uninstalled')])
module_ids.sudo().button_install()
......
......@@ -24,6 +24,5 @@ E-invoice implementation
'demo': [
'data/account_invoice_demo.xml',
],
'auto_install': True,
'license': 'LGPL-3',
}
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