[FIX] l10n_ch: create() takes a dict, not a list.

bzr revid: vmt@openerp.com-20120803101517-91zys7oznpo45345
This commit is contained in:
Vo Minh Thu 2012-08-03 12:15:17 +02:00
parent 4ccc1b9457
commit 675229f9c7
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@
- -
!python {model: create.dta.wizard}: | !python {model: create.dta.wizard}: |
import base64 import base64
wiz_id = self.create(cr,uid,[]) wiz_id = self.create(cr, uid, {})
wiz = self.browse(cr, uid, wiz_id) wiz = self.browse(cr, uid, wiz_id)
pay_order_id = ref("dta_payment_order") pay_order_id = ref("dta_payment_order")
#set the payment order as the active id #set the payment order as the active id
@ -146,7 +146,7 @@
# I import the payment line # I import the payment line
#- #-
# !python {model: account.payment.populate.statement}: | # !python {model: account.payment.populate.statement}: |
# wiz_id = self.create(cr,uid,[]) # wiz_id = self.create(cr, uid, {})
# wiz = self.browse(cr, uid, wiz_id) # wiz = self.browse(cr, uid, wiz_id)
# #
# line_obj = self.pool.get('payment.line') # line_obj = self.pool.get('payment.line')