[FIX] portal_sale: last occurence of portal.payment.acquirer -> payment.acquirer

bzr revid: tde@openerp.com-20140123162059-6omcrt4a32x7t47c
This commit is contained in:
Thibault Delavallée 2014-01-23 17:20:59 +01:00
parent c141142c47
commit 7678ba5bfc
1 changed files with 1 additions and 1 deletions

View File

@ -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(