[FIX] account_banking_mandate: Fix name_get call

This commit is contained in:
Pedro M. Baeza
2016-02-01 19:35:31 +01:00
committed by Reyes4711
parent 8550321ecc
commit ec73fba185

View File

@@ -69,8 +69,6 @@ class PaymentLine(models.Model):
"'%s' which is not attached to the mandate '%s' (this "
"mandate is attached to the bank account '%s').") %
(self.name,
self.env['res.partner.bank'].name_get(
[self.bank_id.id])[0][1],
self.bank_id.name_get()[0][1],
self.mandate_id.unique_mandate_reference,
self.env['res.partner.bank'].name_get(
[self.mandate_id.partner_bank_id.id])[0][1]))
self.mandate_id.partner_bank_id.name_get()[0][1]))