summaryrefslogtreecommitdiff
path: root/addons/l10n_no
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2020-06-11 13:52:42 +0000
committerDenis Ledoux <dle@odoo.com>2020-06-11 17:15:26 +0000
commitad258ee7d1dd84765543f3e3416a5e86ef869693 (patch)
treeee3da3414dacc776edbe592450af338cd2ff3dba /addons/l10n_no
parent0f966196fb5e9de26d437f3435325c45cd9e8d7c (diff)
[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>
Diffstat (limited to 'addons/l10n_no')
-rw-r--r--addons/l10n_no/data/account_chart_template_data.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/l10n_no/data/account_chart_template_data.xml b/addons/l10n_no/data/account_chart_template_data.xml
index 84db3314247..badb66f2d9c 100644
--- a/addons/l10n_no/data/account_chart_template_data.xml
+++ b/addons/l10n_no/data/account_chart_template_data.xml
@@ -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>