summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2012-12-21 11:32:42 +0100
committerOlivier Dony <odo@openerp.com>2012-12-21 11:32:42 +0100
commitb89261ef3bc85eedc09f2de39d96832c640b217c (patch)
treeed9abefaa796ce5878e7293f4b3f21ddee2a19be /addons
parentf349a6cbd37c2199b4fc01e932bab590f34b67aa (diff)
[FIX] l10n_ch: typo in last merge
bzr revid: odo@openerp.com-20121221103242-7tavx2vd2hq6iu6w
Diffstat (limited to 'addons')
-rw-r--r--addons/l10n_ch/account_wizard.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/l10n_ch/account_wizard.py b/addons/l10n_ch/account_wizard.py
index 26acd362e35..e0a9e84b90a 100644
--- a/addons/l10n_ch/account_wizard.py
+++ b/addons/l10n_ch/account_wizard.py
@@ -32,8 +32,8 @@ class WizardMultiChartsAccounts(TransientModel):
# 0 is evaluated as False in python so we have to do this
# because original wizard test code_digits value on a float widget
if chart_template_id:
- sterchi_template = self.pool.get('ir.model.data').get_object('l10n_ch','l10nch_chart_template')
- if sterchi_template.id == template_id:
+ sterchi_template = self.pool.get('ir.model.data').get_object(cursor, uid, 'l10n_ch', 'l10nch_chart_template')
+ if sterchi_template.id == chart_template_id:
res['value']['code_digits'] = 0
return res