diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-10 13:35:25 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-12-10 13:35:25 +0100 |
| commit | 86cff665a27a5a990eed33a5550c248891e883c5 (patch) | |
| tree | 3769b59b9e26efd9298a14bb28b6bfeaf3da6d5c /archaeological_finds/models_finds.py | |
| parent | fbbc1ea8d8a4c84935f3c802d78046647a108f6a (diff) | |
| download | Ishtar-86cff665a27a5a990eed33a5550c248891e883c5.tar.bz2 Ishtar-86cff665a27a5a990eed33a5550c248891e883c5.zip | |
Treatments: manage loan and loan return by parameters - models
Diffstat (limited to 'archaeological_finds/models_finds.py')
| -rw-r--r-- | archaeological_finds/models_finds.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/archaeological_finds/models_finds.py b/archaeological_finds/models_finds.py index cd827a0d0..318388da1 100644 --- a/archaeological_finds/models_finds.py +++ b/archaeological_finds/models_finds.py @@ -106,6 +106,13 @@ class TreatmentType(HierarchicalType): help_text=_( u"Check this if for this treatment from one find you'll get " u"many.")) + change_current_location = models.BooleanField( + _(u"Change current location"), default=False, + help_text=_(u"The treatment change the current location.")) + restore_reference_location = models.BooleanField( + _(u"Restore the reference location"), default=False, + help_text=_(u"The treatment change restore reference location to the " + u"current location.")) class Meta: verbose_name = _(u"Treatment type") |
