diff options
| author | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-02-11 18:16:33 +0100 | 
|---|---|---|
| committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-02-11 18:16:33 +0100 | 
| commit | 3f25967b8b3bcafaa53c6c7e74f64ced23428254 (patch) | |
| tree | 630472a7270354ebed947b86f27b728a04ce837c | |
| parent | 90d557edb5adc18d4dca723b12967354a66d0435 (diff) | |
| download | Ishtar-3f25967b8b3bcafaa53c6c7e74f64ced23428254.tar.bz2 Ishtar-3f25967b8b3bcafaa53c6c7e74f64ced23428254.zip | |
Fix administrativ act indexation (refs #1630)
| -rw-r--r-- | archaeological_operations/models.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/archaeological_operations/models.py b/archaeological_operations/models.py index f705ce7be..82567842f 100644 --- a/archaeological_operations/models.py +++ b/archaeological_operations/models.py @@ -498,7 +498,7 @@ class AdministrativeAct(BaseHistorizedItem, OwnPerms, ValueGetter):      def save(self, *args, **kwargs):          if not self.act_type.indexed or not self.signature_date: -            super(AdministrativeAct, self).save(*args, **kwargs) +            return super(AdministrativeAct, self).save(*args, **kwargs)          year = self.signature_date.year          if not self.index:              c_index = 1 | 
