[FIX] portal_sale: last occurence of portal.payment.acquirer -> payment.acquirer
bzr revid: tde@openerp.com-20140123162059-6omcrt4a32x7t47c
This commit is contained in:
parent
c141142c47
commit
7678ba5bfc
|
@ -85,7 +85,7 @@ class account_invoice(osv.Model):
|
|||
|
||||
def _portal_payment_block(self, cr, uid, ids, fieldname, arg, context=None):
|
||||
result = dict.fromkeys(ids, False)
|
||||
payment_acquirer = self.pool.get('portal.payment.acquirer')
|
||||
payment_acquirer = self.pool.get('payment.acquirer')
|
||||
for this in self.browse(cr, uid, ids, context=context):
|
||||
if this.type == 'out_invoice' and this.state not in ('draft', 'done') and not this.reconciled:
|
||||
result[this.id] = payment_acquirer.render_payment_block(
|
||||
|
|
Loading…
Reference in New Issue