summaryrefslogtreecommitdiff
path: root/ishtar/ishtar_base/forms_operations.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-29 10:27:36 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-29 10:27:36 +0200
commit41d3ebaa2d0832914746171a651942a582d58ca5 (patch)
tree4634429009c5df823ffc5ec89fe506b68c4f06dd /ishtar/ishtar_base/forms_operations.py
parent7ae29b1ef984a0a2960d108c0937748dc2cc3760 (diff)
downloadIshtar-41d3ebaa2d0832914746171a651942a582d58ca5.tar.bz2
Ishtar-41d3ebaa2d0832914746171a651942a582d58ca5.zip
Move "operator_reference" to reference panel (closes #367)
Diffstat (limited to 'ishtar/ishtar_base/forms_operations.py')
-rw-r--r--ishtar/ishtar_base/forms_operations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar/ishtar_base/forms_operations.py b/ishtar/ishtar_base/forms_operations.py
index f5bad9b58..984d29d68 100644
--- a/ishtar/ishtar_base/forms_operations.py
+++ b/ishtar/ishtar_base/forms_operations.py
@@ -277,6 +277,8 @@ class OperationFormReference(forms.Form):
operation_code = forms.IntegerField(label=_(u"Operation code"))
common_name = forms.CharField(label=_(u"Generic name"), required=False,
max_length=120)
+ operator_reference = forms.CharField(label=_(u"Operator reference"),
+ required=False, max_length=20)
if settings.COUNTRY == 'fr':
code_patriarche = forms.IntegerField(label=u"Code PATRIARCHE",
required=False)
@@ -303,8 +305,6 @@ class OperationFormReference(forms.Form):
class OperationFormPreventive(forms.Form):
form_label = _("Preventive informations - excavation")
cost = forms.IntegerField(label=_(u"Cost (€)"), required=False)
- operator_reference = forms.CharField(label=_(u"Operator reference"),
- required=False, max_length=20)
scheduled_man_days = forms.IntegerField(label=_(u"Scheduled man-days"),
required=False)
optional_man_days = forms.IntegerField(label=_(u"Optional man-days"),