[FIX] account_banking_mandate: Restore param removed by cherry-pick (#415)

This commit is contained in:
Carlos Dauden
2017-11-09 13:25:57 +01:00
committed by Pedro M. Baeza
parent 8aa6f7d2e1
commit 308e356aef
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@
{
'name': 'Account Banking Mandate',
'summary': 'Banking mandates',
'version': '10.0.1.1.3',
'version': '10.0.1.1.4',
'license': 'AGPL-3',
'author': "Compassion CH, "
"Tecnativa, "

View File

@@ -45,7 +45,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)