Browse Source

[IMP] remove unused variable

pull/1/head
houssine 6 years ago
parent
commit
b5a11366c2
  1. 1
      easy_my_coop_taxshelter_report/models/tax_shelter_declaration.py

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

Loading…
Cancel
Save