summaryrefslogtreecommitdiff
path: root/ishtar/furnitures/forms.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-29 03:14:01 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-03-29 03:14:01 +0200
commit84d5c050479a2efea8e1c017ac27c9c551e11bc2 (patch)
tree7b671fce69843ff607ead32daff6f3da96068c0d /ishtar/furnitures/forms.py
parente7579f6221a1f98302ef62b33295fd5a997d1729 (diff)
downloadIshtar-84d5c050479a2efea8e1c017ac27c9c551e11bc2.tar.bz2
Ishtar-84d5c050479a2efea8e1c017ac27c9c551e11bc2.zip
Correct PDF export (closes #306)
Diffstat (limited to 'ishtar/furnitures/forms.py')
-rw-r--r--ishtar/furnitures/forms.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ishtar/furnitures/forms.py b/ishtar/furnitures/forms.py
index 467d2b342..a9519266f 100644
--- a/ishtar/furnitures/forms.py
+++ b/ishtar/furnitures/forms.py
@@ -2121,9 +2121,8 @@ ResultItemFormSet = formset_factory(ResultItemForm, can_delete=True,
formset=FormSet)
ResultItemFormSet.form_label = _(u"Resulting items")
-UpstreamItemFormSelection = ItemFormSelection
-
-UpstreamItemFormSelection.form_label = _(u"Upstream item")
+class UpstreamItemFormSelection(ItemFormSelection):
+ form_label = _(u"Upstream item")
treatment_creation_wizard = TreatmentWizard([
('basetreatment-treatment_creation', BaseTreatmentForm),