[Mpuls-commits] r5403 - waska/branches/waska3/waskaweb/controllers
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Sep 30 15:07:16 CEST 2011
Author: ludwig
Date: 2011-09-30 15:07:15 +0200 (Fri, 30 Sep 2011)
New Revision: 5403
Modified:
waska/branches/waska3/waskaweb/controllers/case.py
Log:
Issue 2461: The agency setting FKZ is added to a new case.
Modified: waska/branches/waska3/waskaweb/controllers/case.py
===================================================================
--- waska/branches/waska3/waskaweb/controllers/case.py 2011-09-30 06:56:00 UTC (rev 5402)
+++ waska/branches/waska3/waskaweb/controllers/case.py 2011-09-30 13:07:15 UTC (rev 5403)
@@ -55,4 +55,11 @@
c.case = self.init_case(id)
return render('/casemanagement/aidplan.mako')
+ def _add_custom_fields(self):
+ '''Overwritten from base. Add agencynumber to the case.'''
+ data = {}
+ agency = Agency()
+ data['einrichtung_fkz'] = agency.getFKZ()
+ return data
+
# vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8:
More information about the Mpuls-commits
mailing list