From b2b04690b3b5a2b10b441aa9701db02103e31db5 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Tue, 15 Jan 2019 12:11:51 +0000 Subject: [PATCH] [IMP] contract: Use keyword argument --- contract/models/account_analytic_account.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contract/models/account_analytic_account.py b/contract/models/account_analytic_account.py index c6e37801..cd50b0ca 100644 --- a/contract/models/account_analytic_account.py +++ b/contract/models/account_analytic_account.py @@ -326,7 +326,7 @@ class AccountAnalyticAccount(models.Model): ('date_end', '=', False), ('date_end', '>=', today), ]) - return contracts.recurring_create_invoice(limit) + return contracts.recurring_create_invoice(limit=limit) @api.multi def action_contract_send(self):