mirror of
https://github.com/OCA/bank-payment.git
synced 2025-02-02 10:37:31 +02:00
[FIX] account_banking_mandate/account_payment_partner: Signature changed in convert_to_write
This commit is contained in:
@@ -43,7 +43,7 @@ class AccountInvoice(models.Model):
|
||||
for field in changed_fields:
|
||||
if field not in vals and invoice[field]:
|
||||
vals[field] = invoice._fields[field].convert_to_write(
|
||||
invoice[field],
|
||||
invoice[field], invoice,
|
||||
)
|
||||
return super(AccountInvoice, self).create(vals)
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ class AccountInvoice(models.Model):
|
||||
for field in changed_fields:
|
||||
if field not in vals and invoice[field]:
|
||||
vals[field] = invoice._fields[field].convert_to_write(
|
||||
invoice[field],
|
||||
invoice[field], invoice,
|
||||
)
|
||||
return super(AccountInvoice, self).create(vals)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user