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
commit33cb859e2dc08e418aedcc29eb6c576aaf2926ad (patch)
tree7b671fce69843ff607ead32daff6f3da96068c0d /ishtar/furnitures/forms.py
parentf89463697bfac074afec9322625307a96cb13438 (diff)
downloadIshtar-33cb859e2dc08e418aedcc29eb6c576aaf2926ad.tar.bz2
Ishtar-33cb859e2dc08e418aedcc29eb6c576aaf2926ad.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),