[FIX] l10n_ch: typo in last merge

bzr revid: odo@openerp.com-20121221103242-7tavx2vd2hq6iu6w
This commit is contained in:
Olivier Dony 2012-12-21 11:32:42 +01:00
parent f349a6cbd3
commit b89261ef3b
1 changed files with 2 additions and 2 deletions

View File

@ -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