[Erp5-report] r20256 - in /erp5/trunk/bt5/erp5_calendar: PathTemplateItem/portal_domains/ S...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 1 18:08:08 CEST 2008


Author: jerome
Date: Tue Apr  1 18:08:07 2008
New Revision: 20256

URL: http://svn.erp5.org?rev=20256&view=rev
Log:
2008-04-01 jerome
Integrate romain's planning box for person and person module.

Removed:
    erp5/trunk/bt5/erp5_calendar/PathTemplateItem/portal_domains/organisation_subordination_domain.xml
    erp5/trunk/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/Organisation_generateSubordinationDomain.xml

Removed: erp5/trunk/bt5/erp5_calendar/PathTemplateItem/portal_domains/organisation_subordination_domain.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/PathTemplateItem/portal_domains/organisation_subordination_domain.xml?rev=20255&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/PathTemplateItem/portal_domains/organisation_subordination_domain.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/PathTemplateItem/portal_domains/organisation_subordination_domain.xml (removed)
@@ -1,131 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="BaseDomain" module="Products.ERP5Type.Document.BaseDomain"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_count</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_folder_handler</string> </key>
-            <value> <string>CMFBTreeFolderHandler</string> </value>
-        </item>
-        <item>
-            <key> <string>_identity_criterion</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_mt_index</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_range_criterion</string> </key>
-            <value>
-              <dictionary/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_tree</string> </key>
-            <value>
-              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
-            </value>
-        </item>
-        <item>
-            <key> <string>description</string> </key>
-            <value> <string>Returns persons related by subordination to this organisation.</string> </value>
-        </item>
-        <item>
-            <key> <string>domain_generator_method_id</string> </key>
-            <value> <string>Organisation_generateSubordinationDomain</string> </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>organisation_subordination_domain</string> </value>
-        </item>
-        <item>
-            <key> <string>last_id</string> </key>
-            <value> <string>289</string> </value>
-        </item>
-        <item>
-            <key> <string>portal_type</string> </key>
-            <value> <string>Base Domain</string> </value>
-        </item>
-        <item>
-            <key> <string>title</string> </key>
-            <value> <string>Organisation Person</string> </value>
-        </item>
-        <item>
-            <key> <string>uid</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-  <record id="2" aka="AAAAAAAAAAI=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>BTrees.Length</string>
-          <string>Length</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle> <int>0</int> </pickle>
-  </record>
-  <record id="3" aka="AAAAAAAAAAM=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>BTrees.OOBTree</string>
-          <string>OOBTree</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-  <record id="4" aka="AAAAAAAAAAQ=">
-    <pickle>
-      <tuple>
-        <tuple>
-          <string>BTrees.OOBTree</string>
-          <string>OOBTree</string>
-        </tuple>
-        <none/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <none/>
-    </pickle>
-  </record>
-</ZopeData>

Removed: erp5/trunk/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/Organisation_generateSubordinationDomain.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/Organisation_generateSubordinationDomain.xml?rev=20255&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/Organisation_generateSubordinationDomain.xml (original)
+++ erp5/trunk/bt5/erp5_calendar/SkinTemplateItem/portal_skins/erp5_calendar/Organisation_generateSubordinationDomain.xml (removed)
@@ -1,186 +1,0 @@
-<?xml version="1.0"?>
-<ZopeData>
-  <record id="1" aka="AAAAAAAAAAE=">
-    <pickle>
-      <tuple>
-        <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
-        <tuple/>
-      </tuple>
-    </pickle>
-    <pickle>
-      <dictionary>
-        <item>
-            <key> <string>Python_magic</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>Script_magic</string> </key>
-            <value> <int>3</int> </value>
-        </item>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_bind_names</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>_asgns</string> </key>
-                        <value>
-                          <dictionary>
-                            <item>
-                                <key> <string>name_container</string> </key>
-                                <value> <string>container</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_context</string> </key>
-                                <value> <string>context</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_m_self</string> </key>
-                                <value> <string>script</string> </value>
-                            </item>
-                            <item>
-                                <key> <string>name_subpath</string> </key>
-                                <value> <string>traverse_subpath</string> </value>
-                            </item>
-                          </dictionary>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_body</string> </key>
-            <value> <string>if depth != 0:\n
-  return []\n
-\n
-request = context.REQUEST\n
-object_path = request.get(\'object_path\')\n
-if object_path is None:\n
-  # Sometimes the object_path not comes with the request, when you edit for example.\n
-  object_path = request.get(\'URL1\').split(\'/\')[-1]\n
-\n
-def sorted(seq, comparator):\n
-  new_seq = seq[::]\n
-  new_seq.sort(comparator)\n
-  return new_seq\n
-\n
-def display_method(doc):\n
-  return doc.getTitle()\n
-\n
-domain_list = []\n
-organisation =  context.organisation_module.restrictedTraverse(object_path)\n
-for person in sorted(organisation.getSubordinationRelatedValueList(\n
-                       portal_type=\'Person\', checked_permission=\'View\'),\n
-                     lambda a, b: cmp(display_method(a), display_method(b))):\n
-  domain = parent.generateTempDomain(id=person.getId())\n
-  domain.edit(title = display_method(person),\n
-              membership_criterion_base_category = (\'source\', \'destination\'), \n
-              membership_criterion_category = (person.getRelativeUrl(),),\n
-              domain_generator_method_id = script.id,\n
-              uid = person.getUid())\n
-                \n
-  domain_list.append(domain)\n
-\n
-return domain_list\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_filepath</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>depth, parent, **kw</string> </value>
-        </item>
-        <item>
-            <key> <string>errors</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_code</string> </key>
-            <value>
-              <object>
-                <klass>
-                  <global name="FuncCode" module="Shared.DC.Scripts.Signature"/>
-                </klass>
-                <tuple/>
-                <state>
-                  <dictionary>
-                    <item>
-                        <key> <string>co_argcount</string> </key>
-                        <value> <int>2</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>depth</string>
-                            <string>parent</string>
-                            <string>kw</string>
-                            <string>_getattr_</string>
-                            <string>context</string>
-                            <string>request</string>
-                            <string>object_path</string>
-                            <string>None</string>
-                            <string>_getitem_</string>
-                            <string>sorted</string>
-                            <string>display_method</string>
-                            <string>domain_list</string>
-                            <string>organisation</string>
-                            <string>_getiter_</string>
-                            <string>person</string>
-                            <string>domain</string>
-                            <string>script</string>
-                          </tuple>
-                        </value>
-                    </item>
-                  </dictionary>
-                </state>
-              </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>func_defaults</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>id</string> </key>
-            <value> <string>Organisation_generateSubordinationDomain</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>




More information about the Erp5-report mailing list