diff options
| author | Denis Ledoux <dle@odoo.com> | 2020-06-11 13:52:42 +0000 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2020-06-11 17:15:26 +0000 |
| commit | ad258ee7d1dd84765543f3e3416a5e86ef869693 (patch) | |
| tree | ee3da3414dacc776edbe592450af338cd2ff3dba | |
| parent | 0f966196fb5e9de26d437f3435325c45cd9e8d7c (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>
| -rw-r--r-- | addons/l10n_generic_coa/data/l10n_generic_coa_post.xml | 2 | ||||
| -rw-r--r-- | addons/l10n_no/data/account_chart_template_data.xml | 2 | ||||
| -rw-r--r-- | addons/l10n_ua/data/account_chart_template_config.xml | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml b/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml index d06ccea8560..c532381c60a 100644 --- a/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml +++ b/addons/l10n_generic_coa/data/l10n_generic_coa_post.xml @@ -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> 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> diff --git a/addons/l10n_ua/data/account_chart_template_config.xml b/addons/l10n_ua/data/account_chart_template_config.xml index 9f60207b2ec..8351286f7a4 100644 --- a/addons/l10n_ua/data/account_chart_template_config.xml +++ b/addons/l10n_ua/data/account_chart_template_config.xml @@ -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> |
