From 99b32a2f6ccb2ff1f77edeb11757320e89a23c91 Mon Sep 17 00:00:00 2001 From: houssine Date: Mon, 3 Apr 2017 21:44:59 +0200 Subject: [PATCH] [IMP] raise mail limit to 80 --- .../models/tax_shelter_declaration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py b/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py index c444c58..00a1e3d 100644 --- a/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py +++ b/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py @@ -182,7 +182,7 @@ class TaxShelterCertificate(models.Model): @api.model def batch_send_tax_shelter_certificate(self): - certificates = self.search([('state','=','validated')],limit=40) + certificates = self.search([('state','=','validated')],limit=80) for certificate in certificates: certificate.send_certificates() certificate.state = 'sent'