From 7be0ce4d946ddbc79c5a9643c2c12861d6115bd4 Mon Sep 17 00:00:00 2001 From: Bejaoui Souheil Date: Wed, 23 Oct 2019 17:35:22 +0200 Subject: [PATCH] Update contract_mandate/models/contract.py Co-Authored-By: Pedro M. Baeza --- contract_mandate/models/contract.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract_mandate/models/contract.py b/contract_mandate/models/contract.py index 87dfbb6f..2e563eba 100644 --- a/contract_mandate/models/contract.py +++ b/contract_mandate/models/contract.py @@ -34,7 +34,7 @@ class ContractContract(models.Model): @api.multi def _prepare_invoice(self, date_invoice, journal=None): invoice_vals = super(ContractContract, self)._prepare_invoice( - date_invoice, journal + date_invoice, journal=journal ) if self.mandate_id: invoice_vals['mandate_id'] = self.mandate_id.id