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):