Skip to content

Commit

Permalink
TA#66667 [MIG][16.0] canada_account_types
Browse files Browse the repository at this point in the history
  • Loading branch information
rivo2302 committed Sep 13, 2024
1 parent 6726ba0 commit 93edb1f
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 11 deletions.
11 changes: 1 addition & 10 deletions canada_account_types/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ In french, the term is renamed ``Autres actifs non-courants``.

Other Current Liabilities
~~~~~~~~~~~~~~~~~~~~~~~~~

The type ``Current Liabilities`` is renamed ``Other Current Liabilities``.

The reason is the same as for ``Current Assets``.
Expand Down Expand Up @@ -135,16 +136,6 @@ The type ``Depreciation`` is also a kind of indirect costs.
Therefore, we renamed the type ``Other Indirect Costs`` so that it contains indirect costs
except for ``Depreciation`` (amortization).

Renamed Account Categories
-------------------------
Assets
~~~~~~~
In French, the category ``Assets`` is renamed from ``Immobilisations`` to ``Actifs``.

Equity
~~~~~~~
In French, the category ``Equity`` is renamed from ``Fonds propres`` to ``Capitaux propres``.


Contributors
------------
Expand Down
35 changes: 34 additions & 1 deletion canada_account_types/data/web_custom_label.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<odoo noupdate="1">

<record id="label_account_type_asset_receivable_french" model="web.custom.label">
<field name="lang">fr_FR</field>
<field name="model_ids"
eval="[(4, ref('account.model_account_account')), (4, ref('account.model_account_account_template'))]" />
<field name="type_">field</field>
<field name="position">selection</field>
<field name="reference">account_type</field>
<field name="key">asset_receivable</field>
<field name="term">Comptes clients</field>
</record>

<record id="label_account_type_liability_non_current_french" model="web.custom.label">
<field name="lang">fr_FR</field>
<field name="model_ids"
eval="[(4, ref('account.model_account_account')), (4, ref('account.model_account_account_template'))]" />
<field name="type_">field</field>
<field name="position">selection</field>
<field name="reference">account_type</field>
<field name="key">liability_non_current</field>
<field name="term">Passifs non courants</field>
</record>

<record id="label_account_type_equity_french" model="web.custom.label">
<field name="lang">fr_FR</field>
<field name="model_ids"
eval="[(4, ref('account.model_account_account')), (4, ref('account.model_account_account_template'))]" />
<field name="type_">field</field>
<field name="position">selection</field>
<field name="reference">account_type</field>
<field name="key">equity</field>
<field name="term">Capitaux propres</field>
</record>

<record id="label_account_type_asset_current_english" model="web.custom.label">
<field name="lang">en_US</field>
<field name="model_ids"
Expand Down Expand Up @@ -64,7 +97,7 @@
<field name="position">selection</field>
<field name="reference">account_type</field>
<field name="key">asset_non_current</field>
<field name="term">Autres actifs non courants</field>
<field name="term">Autres actifs non-courants</field>
</record>

<record id="label_account_type_liability_current_english" model="web.custom.label">
Expand Down

0 comments on commit 93edb1f

Please sign in to comment.