[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>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user