mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking_mandate: Fix name_get call
This commit is contained in:
committed by
Reyes4711
parent
8550321ecc
commit
ec73fba185
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user