[Erp5-report] r27857 - in /erp5/trunk/bt5: erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 1 17:39:26 CEST 2009


Author: luke
Date: Wed Jul  1 17:39:25 2009
New Revision: 27857

URL: http://svn.erp5.org?rev=27857&view=rev
Log:
 - extend SimulationMovement_testInvoiceTransactionRule to be used as children for Trade Model Rule
 - remove script from development erp5_bpm business template

Removed:
    erp5/trunk/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testInvoiceTransactionRule.xml
Modified:
    erp5/trunk/bt5/erp5_bpm/bt/revision
    erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/SimulationMovement_testInvoiceTransactionRule.xml
    erp5/trunk/bt5/erp5_invoicing/bt/revision

Removed: erp5/trunk/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testInvoiceTransactionRule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testInvoiceTransactionRule.xml?rev=27856&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testInvoiceTransactionRule.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_bpm/SkinTemplateItem/portal_skins/erp5_bpm/SimulationMovement_testInvoiceTransactionRule.xml (removed)
@@ -1,147 +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>Script_magic</string> </key>
-            <value> <int>3</int> </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>movement = context\n
-\n
-parent = movement.getParentValue()\n
-if parent.getPortalType() != \'Applied Rule\':\n
-  return False\n
-\n
-parent_rule = parent.getSpecialiseValue()\n
-if parent_rule.getPortalType() not in (\'Invoice Rule\',\n
-                                       \'Invoicing Rule\',\n
-                                       \'Trade Model Rule\'):\n
-  return False\n
-\n
-#XXX: What is this?\n
-#delivery_movement = movement.getDeliveryValue()\n
-#if delivery_movement is not None and (\n
-#   delivery_movement.getPortalType() not in movement.getPortalInvoiceMovementTypeList()\n
-#    and delivery_movement.getPortalType() not in movement.getPortalTaxMovementTypeList()):\n
-#  return False\n
-\n
-return rule.getMatchingCell(movement) is not None\n
-</string> </value>
-        </item>
-        <item>
-            <key> <string>_code</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
-        <item>
-            <key> <string>_params</string> </key>
-            <value> <string>rule</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>1</int> </value>
-                    </item>
-                    <item>
-                        <key> <string>co_varnames</string> </key>
-                        <value>
-                          <tuple>
-                            <string>rule</string>
-                            <string>context</string>
-                            <string>movement</string>
-                            <string>_getattr_</string>
-                            <string>parent</string>
-                            <string>False</string>
-                            <string>parent_rule</string>
-                            <string>None</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>SimulationMovement_testInvoiceTransactionRule</string> </value>
-        </item>
-        <item>
-            <key> <string>warnings</string> </key>
-            <value>
-              <tuple/>
-            </value>
-        </item>
-      </dictionary>
-    </pickle>
-  </record>
-</ZopeData>

Modified: erp5/trunk/bt5/erp5_bpm/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_bpm/bt/revision?rev=27857&r1=27856&r2=27857&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_bpm/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_bpm/bt/revision [utf8] Wed Jul  1 17:39:25 2009
@@ -1,1 +1,1 @@
-199
+200

Modified: erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/SimulationMovement_testInvoiceTransactionRule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/SimulationMovement_testInvoiceTransactionRule.xml?rev=27857&r1=27856&r2=27857&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/SimulationMovement_testInvoiceTransactionRule.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_invoicing/SkinTemplateItem/portal_skins/erp5_invoicing/SimulationMovement_testInvoiceTransactionRule.xml [utf8] Wed Jul  1 17:39:25 2009
@@ -62,6 +62,7 @@
 parent_rule = parent.getSpecialiseValue()\n
 if parent_rule.getPortalType() not in (\'Invoice Rule\',\n
                                        \'Invoicing Rule\',\n
+                                       \'Trade Model Rule\',\n
                                        \'Tax Rule\'):\n
   return False\n
 \n

Modified: erp5/trunk/bt5/erp5_invoicing/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_invoicing/bt/revision?rev=27857&r1=27856&r2=27857&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_invoicing/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_invoicing/bt/revision [utf8] Wed Jul  1 17:39:25 2009
@@ -1,1 +1,1 @@
-252
+253




More information about the Erp5-report mailing list