summaryrefslogtreecommitdiff
path: root/addons/l10n_be/data
diff options
context:
space:
mode:
authorChristophe Monniez <moc@odoo.com>2018-06-25 09:54:22 +0200
committerChristophe Monniez <moc@odoo.com>2018-09-19 15:58:10 +0200
commitb9ad03ab78f5ba07f99c16dd4bd9a8193a15efca (patch)
tree1a845fbf1592e075ddc08fce073440e9d5f11f85 /addons/l10n_be/data
parent19e9909557275751dfafce3bc9f2a8234563357c (diff)
[IMP] account: test install of all l10n modules
l10n modules are blacklisted on the runbot. With this commit, a tagged test is added that installs all the l10n modules. A chart of account is installed in a different company for each one. This test is a first step to test all l10n. It's intended to be launched by a runbot cron script.
Diffstat (limited to 'addons/l10n_be/data')
-rw-r--r--addons/l10n_be/data/account_reconcile_model_template.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/l10n_be/data/account_reconcile_model_template.xml b/addons/l10n_be/data/account_reconcile_model_template.xml
index a79759f9f41..aef848d99dd 100644
--- a/addons/l10n_be/data/account_reconcile_model_template.xml
+++ b/addons/l10n_be/data/account_reconcile_model_template.xml
@@ -27,7 +27,7 @@
</record>
<record id="virements_internes_template" model="account.reconcile.model.template">
<field name="chart_template_id" ref="l10nbe_chart_template"/>
- <field name="account_id" search="[('code', '=like', obj().env.ref('l10n_be.l10nbe_chart_template').transfer_account_code_prefix + '%')]"/>
+ <field name="account_id" search="[('code', '=like', obj().env.ref('l10n_be.l10nbe_chart_template').transfer_account_code_prefix + '%'), ('chart_template_id', '=', obj().env.ref('l10n_be.l10nbe_chart_template').id)]"/>
<field name="name">Virements internes</field>
<field name="amount_type">percentage</field>
<field name="amount">100</field>