mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] replace old sdd.mandate referencess
This commit is contained in:
committed by
Enric Tobella
parent
01d801897d
commit
6eff1433e6
@@ -60,7 +60,7 @@ class PaymentLine(models.Model):
|
||||
|
||||
@api.one
|
||||
@api.constrains('mandate_id', 'bank_id')
|
||||
def _check_mandate_bank_link(self, cr, uid, ids):
|
||||
def _check_mandate_bank_link(self):
|
||||
if (self.mandate_id and self.bank_id
|
||||
and self.mandate_id.partner_bank_id.id !=
|
||||
self.bank_id.id):
|
||||
|
||||
Reference in New Issue
Block a user