[Erp5-report] r38659 ivan - in /erp5/trunk/bt5/erp5_ingestion: SkinTemplateItem/portal_skin...

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Sep 27 12:56:09 CEST 2010


Author: ivan
Date: Mon Sep 27 12:56:04 2010
New Revision: 38659

URL: http://svn.erp5.org?rev=38659&view=rev
Log:
Use default Person's site & group as set by respective Career settings (not any more Person's Assignments).

Modified:
    erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml
    erp5/trunk/bt5/erp5_ingestion/bt/revision

Modified: erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml?rev=38659&r1=38658&r2=38659&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ingestion/SkinTemplateItem/portal_skins/erp5_ingestion/Document_getPropertyDictFromUserLogin.xml [utf8] Mon Sep 27 12:56:04 2010
@@ -55,11 +55,11 @@ Gets document properties discovered from
 User would be usually the current user, but sometimes the name has to be given explicitly\n
 if e.g. the doc is contributed by email, and the script is run by zope user.\n
 """\n
-assignment_dict = context.ERP5Site_getPersonAssignmentDict(user_name=user_name)\n
+career_dict = context.ERP5Site_getPersonCareerDict(user_name=user_name)\n
 \n
 # XXX: make list of properties configurable through preferences\n
-return {\'group_list\': assignment_dict[\'group_list\'],\n
-        \'function_list\': assignment_dict[\'function_list\']}\n
+return {\'group_list\': career_dict[\'group_list\'],\n
+        \'site_list\': career_dict[\'site_list\']}\n
 </string> </value>
         </item>
         <item>
@@ -99,7 +99,7 @@ return {\'group_list\': assignment_dict[
                             <string>user_name</string>
                             <string>_getattr_</string>
                             <string>context</string>
-                            <string>assignment_dict</string>
+                            <string>career_dict</string>
                             <string>_getitem_</string>
                           </tuple>
                         </value>

Modified: erp5/trunk/bt5/erp5_ingestion/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ingestion/bt/revision?rev=38659&r1=38658&r2=38659&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ingestion/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ingestion/bt/revision [utf8] Mon Sep 27 12:56:04 2010
@@ -1 +1 @@
-112
\ No newline at end of file
+113
\ No newline at end of file




More information about the Erp5-report mailing list