[Mpuls-commits] r1391 - in wasko/branches/2.0: . waskaweb/model

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Feb 9 15:27:07 CET 2010


Author: bh
Date: 2010-02-09 15:27:05 +0100 (Tue, 09 Feb 2010)
New Revision: 1391

Modified:
   wasko/branches/2.0/ChangeLog
   wasko/branches/2.0/waskaweb/model/case.py
Log:
* waskaweb/model/case.py (Case.aliases): Some more fields have to
be copied to the SessionCase: street, streetnr, plz, city


Modified: wasko/branches/2.0/ChangeLog
===================================================================
--- wasko/branches/2.0/ChangeLog	2010-02-09 14:24:33 UTC (rev 1390)
+++ wasko/branches/2.0/ChangeLog	2010-02-09 14:27:05 UTC (rev 1391)
@@ -1,5 +1,10 @@
 2010-02-09  Bernhard Herzog  <bh at intevation.de>
 
+	* waskaweb/model/case.py (Case.aliases): Some more fields have to
+	be copied to the SessionCase: street, streetnr, plz, city
+
+2010-02-09  Bernhard Herzog  <bh at intevation.de>
+
 	* waskaweb/model/case.py (LOAD_CASESTATE_SQL): Removed m.nbtr and
 	m.cm_end_art.  They're not actually used.
 

Modified: wasko/branches/2.0/waskaweb/model/case.py
===================================================================
--- wasko/branches/2.0/waskaweb/model/case.py	2010-02-09 14:24:33 UTC (rev 1390)
+++ wasko/branches/2.0/waskaweb/model/case.py	2010-02-09 14:27:05 UTC (rev 1391)
@@ -647,12 +647,14 @@
                                 in_session=True),
                AliasDescription("first_name", "vorname",  "",  ensure_unicode,
                                 in_session=True),
-               AliasDescription("street", "addresse_strasse",  "",
-                                ensure_unicode),
-               AliasDescription("streetnr", "addresse_strassenr",  "",
-                                ensure_unicode),
-               AliasDescription("plz", "addresse_plz",  "",  ensure_unicode),
-               AliasDescription("city", "addresse_ort",  "",  ensure_unicode),
+               AliasDescription("street", "adresse_strasse",  "",
+                                ensure_unicode, in_session=True),
+               AliasDescription("streetnr", "adresse_strassenr",  "",
+                                ensure_unicode, in_session=True),
+               AliasDescription("plz", "adresse_plz",  "",  ensure_unicode,
+                                in_session=True),
+               AliasDescription("city", "adresse_ort",  "",  ensure_unicode,
+                                in_session=True),
                AliasDescription("first_meeting", "erstgespraech",
                                 in_session=True),
                AliasDescription("cm_end", "datum_cm_ende", in_session=True),



More information about the Mpuls-commits mailing list