diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-02-20 13:09:03 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2014-02-20 13:09:03 +0100 |
commit | c627c24a51ef1f428f8bb81e30d9e90f18cd2a81 (patch) | |
tree | 6ee2b89fc33d08825d3b3d347a916086df5722aa /archaeological_operations/wizards.py | |
parent | dae850a2dcf7fc208a9d948a84b3251a4a88d747 (diff) | |
download | Ishtar-c627c24a51ef1f428f8bb81e30d9e90f18cd2a81.tar.bz2 Ishtar-c627c24a51ef1f428f8bb81e30d9e90f18cd2a81.zip |
Operations: in_charge -> scientist - new field in_charge (refs #1600)
* model update
* forms update
* templates update
* search update
* operation owned update
Diffstat (limited to 'archaeological_operations/wizards.py')
-rw-r--r-- | archaeological_operations/wizards.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archaeological_operations/wizards.py b/archaeological_operations/wizards.py index 6d25812eb..a14924301 100644 --- a/archaeological_operations/wizards.py +++ b/archaeological_operations/wizards.py @@ -222,8 +222,8 @@ class OperationModificationWizard(OperationWizard): class OperationClosingWizard(ClosingWizard): model = models.Operation fields = ['year', 'operation_code', 'operation_type', 'associated_file', - 'in_charge', 'start_date', 'excavation_end_date', 'comment', - 'towns', 'remains'] + 'in_charge', 'scientist', 'start_date', 'excavation_end_date', + 'comment', 'towns', 'remains'] class OperationDeletionWizard(DeletionWizard): model = models.Operation @@ -340,7 +340,7 @@ class OperationEditAdministrativeActWizard(OperationAdministrativeActWizard): class AdministrativeActDeletionWizard(ClosingWizard): model = models.AdministrativeAct - fields = ['act_type', 'in_charge', 'operator', 'scientific', 'signatory', + fields = ['act_type', 'in_charge', 'operator', 'scientist', 'signatory', 'operation', 'associated_file', 'signature_date', 'act_object',] if settings.COUNTRY == 'fr': fields += ['ref_sra'] |