Files
odoo_source/addons/l10n_no/data/account_chart_template_data.xml
T
Denis Ledoux ad258ee7d1 [FIX] l10n_*: try_loading should stay in a noupdate=1 data block
Oversight during 293ccca9e94a1cdf9ef5c65349c4a18edb2fb399

`try_loading` should be called on install only,
not on module update.

closes odoo/odoo#52877

X-original-commit: 3557c265b878b21b95210c5708afbfa2826e11cc
Signed-off-by: Denis Ledoux (dle) <dle@odoo.com>
2020-06-11 17:15:26 +00:00

23 lines
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<record id="no_chart_template" model="account.chart.template">
<field name="property_account_receivable_id" ref="chart1500"/>
<field name="property_account_payable_id" ref="chart2400"/>
<field name="property_account_expense_categ_id" ref="chart4000"/>
<field name="property_account_income_categ_id" ref="chart3000"/>
<field name="property_account_expense_id" ref="chart4300"/>
<field name="property_account_income_id" ref="chart3000"/>
<field name="income_currency_exchange_account_id" ref="chart8060"/>
<field name="expense_currency_exchange_account_id" ref="chart8160"/>
<field name="default_pos_receivable_account_id" ref="chart1501" />
</record>
</data>
<data noupdate="1">
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_no.no_chart_template')]"/>
</function>
</data>
</odoo>