[IMP] l10n_{be,ca}: translate the CoA in both base languages too
Same as ea747d23e4 for Belgium and Canada
If somebody chose nl instead of nl_BE as the language (e.g. on the SaaS on
odoo.com, only nl is proposed on startup), the chart of account was not
translated.
Now it will be in both languages.
Rename the translation file so it is loaded by any nl_* language
Add multiple spoken_languages to be sure to load each one via the
process_translation mechanism.
Apply same logic for fr_CA
closes odoo/odoo#29682
This commit is contained in:
@@ -7,6 +7,6 @@
|
||||
<field name="cash_account_code_prefix">570</field>
|
||||
<field name="transfer_account_code_prefix">580</field>
|
||||
<field name="currency_id" ref="base.EUR"/>
|
||||
<field name="spoken_languages" eval="'nl_BE'"/>
|
||||
<field name="spoken_languages" eval="'nl_BE;nl_NL'"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -9,6 +9,6 @@
|
||||
<field name="transfer_account_code_prefix">113</field>
|
||||
<field name="currency_id" ref="base.CAD"/>
|
||||
<field name="use_anglo_saxon" eval="True"/>
|
||||
<field name="spoken_languages" eval="'fr_CA'"/>
|
||||
<field name="spoken_languages" eval="'fr_FR;fr_CA'"/>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user