[FIX] l10n_ch: create() takes a dict, not a list.
bzr revid: vmt@openerp.com-20120803101517-91zys7oznpo45345
This commit is contained in:
parent
4ccc1b9457
commit
675229f9c7
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue