[IMP] l10n_au: add Australian reports menuitem
Done in commuity so that other modules can inherit from it, but only used in enterprise's l10n_au_reports for now. closes odoo/odoo#49581 Related: odoo/enterprise#9907 Signed-off-by: Josse Colpaert <jco@openerp.com>
This commit is contained in:
@@ -48,6 +48,8 @@ def _auto_install_l10n(cr, registry):
|
||||
module_list.append('base_vat')
|
||||
if country_code == 'MX':
|
||||
module_list.append('l10n_mx_edi')
|
||||
if country_code == 'AU':
|
||||
module_list.append('account_reports_cash_basis')
|
||||
|
||||
# SEPA zone countries will be using SEPA
|
||||
sepa_zone = env.ref('base.sepa_zone', raise_if_not_found=False)
|
||||
|
||||
@@ -30,8 +30,9 @@ Also:
|
||||
'data/account_fiscal_position_tax_template_data.xml',
|
||||
'data/account_chart_template_configure_data.xml',
|
||||
'data/res_currency_data.xml',
|
||||
'views/menuitems.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
],
|
||||
'demo': [
|
||||
'demo/demo_company.xml',
|
||||
],
|
||||
}
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<menuitem id="account_reports_au_statements_menu" name="Australia" parent="account.menu_finance_reports" sequence="0" groups="account.group_account_readonly"/>
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user