From eb57c47e4fbc7440ff5ec3e88cb77e8dba3c5fcb Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 15 Sep 2011 00:37:29 +0200 Subject: Add operator_reference for operations (closes #367) --- ishtar/ishtar_base/forms_operations.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ishtar/ishtar_base/forms_operations.py') diff --git a/ishtar/ishtar_base/forms_operations.py b/ishtar/ishtar_base/forms_operations.py index 1fefa75f5..4aba9ddbc 100644 --- a/ishtar/ishtar_base/forms_operations.py +++ b/ishtar/ishtar_base/forms_operations.py @@ -301,6 +301,8 @@ 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) if settings.COUNTRY == 'fr': fnap_financing = forms.FloatField(required=False, label=u"Pourcentage de financement FNAP", -- cgit v1.2.3