[FIX] account: Error creating a DTA
lp bug: https://launchpad.net/bugs/705675 fixed bzr revid: ara@tinyerp.com-20110124132129-hqwsd5stpgmyc87v
This commit is contained in:
parent
b5cad281c4
commit
6472a97362
|
@ -554,7 +554,7 @@ def _create_dta(obj, cr, uid, data, context=None):
|
|||
dta = dta + record_gt890(v).generate()
|
||||
|
||||
dta_data = base64.encodestring(dta)
|
||||
payment_obj.set_done(cr, uid, data['id'], context)
|
||||
payment_obj.set_done(cr, uid, [data['id']], context)
|
||||
attachment_obj.create(cr, uid, {
|
||||
'name': 'DTA',
|
||||
'datas': dta_data,
|
||||
|
|
Loading…
Reference in New Issue