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 7121c2c..afbfa47 100644 --- a/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py +++ b/easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py @@ -127,7 +127,6 @@ class TaxShelterDeclaration(models.Model): @api.one def reset_declaration(self): if not self.state == 'validated': - certificate_ids = self.tax_shelter_certificates.ids self.tax_shelter_certificates.unlink() self.state = 'draft'