Files
odoo_source/addons/l10n_generic_coa/data/l10n_generic_coa.xml
T
aliya 954f05367e [IMP] account, l10n_generic: change default fiscal country
Task ID: 2717840

Currently:
- Generic_coa has country_id US, which is not valid for non-supported localizations. This creates a bug as the country on taxes and account_fiscal_country_id becomes different.
- Users who only have Invoicing installed can't change the fiscal country setting as it's only available in Accounting.

Desired:
- Set account_fiscal_country_id the same as country_id
- Remove base.us from l10n_generic_coa
- Adjust the error message to make the issue more clear for users
- Allow changing fiscal country in Invoicing

closes odoo/odoo#91363

Related: odoo/enterprise#27332
Related: odoo/upgrade#3264
Signed-off-by: Laurent Smet <las@odoo.com>
2022-05-17 16:03:13 +02:00

14 lines
574 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Account Tax Group -->
<record id="configurable_chart_template" model="account.chart.template">
<field name="name">Configurable Account Chart Template</field>
<field name="code_digits">6</field>
<field name="bank_account_code_prefix">1014</field>
<field name="cash_account_code_prefix">1015</field>
<field name="transfer_account_code_prefix">1017</field>
<field name="currency_id" ref="base.USD"/>
<field name="country_id" eval="False"/>
</record>
</odoo>