[FIX] l10n_ca: default stock input account for products categories

Since Odoo 8.0,
the default stock input account for product categories
in the Canadian localization is set to
`214100 CANADA REVENUE AGENCY`

This is the case since this commit:
https://github.com/odoo/odoo/commit/13dacd11c10dac853def763432829b8976604a7d#diff-2e65e26a4efc4ab95e72dbe2033141ecL294
In which the account with the XML ID 2141_en
214100 Stock Received But Not Billed
has been renamed
214100 CANADA REVENUE AGENCY

In this very same commit, the account "Stock Received But Not Billed" has been moved to the account 217100,
under the XML ID chart2171_en:
https://github.com/odoo/odoo/commit/13dacd11c10dac853def763432829b8976604a7d#diff-2e65e26a4efc4ab95e72dbe2033141ecR447

While the default value for the products categories stock input account remained the same, the account with as code 2141:
https://github.com/odoo/odoo/blob/8.0/addons/l10n_ca/account_chart_template_en.xml#L8

This is an oversight. It was not meant that way. The default stock input account for products
should well be "Stock Received But Not Billed".

In addition, a stock account is supposed to be of type assets, and not of type liabilities.

I contacted @max3903, who was a contributor of the l10n_ca localization,
and who is therefore a better expert than me regarding the Canadian localization.
He confirmed me all the above findings.

opw-775413
This commit is contained in:
Denis Ledoux
2017-10-26 17:31:25 +02:00
parent b80b13a572
commit ab9b5a13e4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -217,7 +217,7 @@
<record id="chart2171_en" model="account.account.template">
<field name="code">2171</field>
<field name="user_type_id" ref="account.data_account_type_current_liabilities"/>
<field name="user_type_id" ref="account.data_account_type_current_assets"/>
<field name="name">Stock Received But Not Billed</field>
<field name="chart_template_id" ref="ca_en_chart_template_en"/>
</record>
@@ -9,7 +9,7 @@
<field name="property_account_payable_id" ref="chart2111_en"/>
<field name="property_account_income_categ_id" ref="chart411_en"/>
<field name="property_account_expense_categ_id" ref="chart5111_en"/>
<field name="property_stock_account_input_categ_id" ref="chart2141_en"/>
<field name="property_stock_account_input_categ_id" ref="chart2171_en"/>
<field name="property_stock_account_output_categ_id" ref="chart1145_en"/>
<field name="property_stock_valuation_account_id" ref="chart1141_en"/>
<field name="income_currency_exchange_account_id" ref="chart42_en"/>