diff options
author | Étienne Loks <etienne.loks@proxience.com> | 2016-01-10 19:47:44 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@proxience.com> | 2016-01-10 19:47:44 +0100 |
commit | 8dc6d8a76c35ee8ebffea96644bc0f694c723c26 (patch) | |
tree | fd8f42e11bfa765415224500254c7e1fd6872412 /archaeological_files_pdl/forms.py | |
parent | fe3dcbc843e4a2c8a1bc36ad2a0efedd18b8f491 (diff) | |
download | Ishtar-8dc6d8a76c35ee8ebffea96644bc0f694c723c26.tar.bz2 Ishtar-8dc6d8a76c35ee8ebffea96644bc0f694c723c26.zip |
Fix automatic association of general contractor corporation
Diffstat (limited to 'archaeological_files_pdl/forms.py')
-rw-r--r-- | archaeological_files_pdl/forms.py | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/archaeological_files_pdl/forms.py b/archaeological_files_pdl/forms.py index 1a260541f..8dbc12024 100644 --- a/archaeological_files_pdl/forms.py +++ b/archaeological_files_pdl/forms.py @@ -332,21 +332,6 @@ class FileFormGeneralContractor(PersonOrgaForm): new=True), validators=[valid_id(Person)]) self.fields.pop(self.ORGA_FIELD) - """ - else: - self.fields[self.ORGA_FIELD] = forms.IntegerField( - label=self.ORGA_LABEL, - required=False, - initial=initial.get(self.ORGA_FIELD, None), - widget=widgets.JQueryPersonOrganization( - reverse_lazy('autocomplete-organization', - args=[self.ORGA_TYPE.pk]), - reverse_lazy('organization_create'), - model=models.Organization, - limit={'organization_type': [self.ORGA_TYPE.pk]}, - js_template='ishtar/blocks/JQueryCorporationPerson.js', - new=True), - validators=[valid_id(models.Organization)])""" class FileFormPlanningService(forms.Form): |