Skip to content
Snippets Groups Projects
Commit ad258ee7 authored by Denis Ledoux's avatar Denis Ledoux
Browse files

[FIX] l10n_*: `try_loading` should stay in a `noupdate=1` data block


Oversight during 293ccca9

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

closes odoo/odoo#52877

X-original-commit: 3557c265b878b21b95210c5708afbfa2826e11cc
Signed-off-by: default avatarDenis Ledoux (dle) <dle@odoo.com>
parent 0f966196
No related branches found
No related tags found
No related merge requests found
......@@ -91,6 +91,8 @@
</record>
<!-- Try to instanciate for relevant companies -->
</data>
<data noupdate="1">
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_generic_coa.configurable_chart_template')]"/>
</function>
......
......@@ -12,7 +12,9 @@
<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>
......
......@@ -30,7 +30,9 @@
<field name="expense_currency_exchange_account_id" ref="ua_ias_2500"/>
<field name="default_pos_receivable_account_id" ref="ua_ias_1122" />
</record>
</data>
<data noupdate="1">
<function model="account.chart.template" name="try_loading">
<value eval="[ref('l10n_ua.l10n_ua_psbo_chart_template')]"/>
</function>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment