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 | 550ef4020c6e4115dc9ae80cd0162c0b0d89948c (patch) | |
tree | 630472a7270354ebed947b86f27b728a04ce837c | |
parent | 70bfbc90f77a335c02e685bd7f5f288f1d5f044f (diff) | |
download | Ishtar-550ef4020c6e4115dc9ae80cd0162c0b0d89948c.tar.bz2 Ishtar-550ef4020c6e4115dc9ae80cd0162c0b0d89948c.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 |