[wrong model]not payment.acquirer but payment.transaction

bzr revid: popkar77@gmail.com-20131219145716-cybxgkamyyrnn238
This commit is contained in:
JoshuaJan 2013-12-19 22:57:16 +08:00
parent 38e22d1808
commit 1d0423b9ad
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ class PaymentAcquirer(osv.Model):
acquirer = self.browse(cr, uid, id, context=context)
if tx_id:
tx = self.browse(cr, uid, id, context=context)
tx = self.pool.get('payment.transaction').browse(cr, uid, tx_id, context=context)
tx_data = {
'reference': tx.reference,
'amount': tx.amount,