Browse Source

[IMP] raise mail limit to 80

pull/1/head
houssine 8 years ago
parent
commit
99b32a2f6c
  1. 2
      easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py

2
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'

Loading…
Cancel
Save