Files
odoo_source/addons/l10n_pt/data/l10n_pt_chart_data.xml
T
Ricardo Gomes Rodrigues (rigr) 0ede4f5e56 [FIX] l10n_{bg,cn,hu,pe,pt,ro,rs,si}: translation of CoA
Steps to reproduce:
1. Create a BG company
2. Install the BG Chart of Accounts
3. Install the BG language
4. Switch to the BG language
5. The CoA is not translated

This is due to a missing field in the CoA xml: `spoken_languages` which is now fixed.

Moreover, the language code of Slovenian has been fixed from `si` (which is the country code) to `sl`.

closes odoo/odoo#107353

X-original-commit: ce8f692256714df57864e991e050734b5e04b1f9
Signed-off-by: Laurent Smet <las@odoo.com>
2022-12-07 12:53:55 +01:00

15 lines
592 B
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="pt_chart_template" model="account.chart.template">
<field name="name">Portugal - Chart of Accounts</field>
<field name="cash_account_code_prefix">11</field>
<field name="bank_account_code_prefix">12</field>
<field name="transfer_account_code_prefix">15</field>
<field name="currency_id" ref="base.EUR"/>
<field name="country_id" ref="base.pt"/>
<field name="spoken_languages" eval="'pt_PT'"/>
</record>
</data>
</odoo>