[Erp5-report] r17420 - in /erp5/trunk/bt5/erp5_trade: PathTemplateItem/portal_rules/ Portal...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Nov 6 17:29:33 CET 2007
Author: alex
Date: Tue Nov 6 17:29:33 2007
New Revision: 17420
URL: http://svn.erp5.org?rev=17420&view=rev
Log:
alex:
changes to support new style Rules
Added:
erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryRule_testContextPortalType.xml
erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/OrderRule_testContextPortalType.xml
Modified:
erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_delivery_rule.xml
erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_order_rule.xml
erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
erp5/trunk/bt5/erp5_trade/bt/revision
erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
Modified: erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_delivery_rule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_delivery_rule.xml?rev=17420&r1=17419&r2=17420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_delivery_rule.xml (original)
+++ erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_delivery_rule.xml Tue Nov 6 17:29:33 2007
@@ -40,12 +40,24 @@
</value>
</item>
<item>
+ <key> <string>default_reference</string> </key>
+ <value> <string>default_delivery_rule</string> </value>
+ </item>
+ <item>
<key> <string>id</string> </key>
<value> <string>default_delivery_rule</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Delivery Rule</string> </value>
+ </item>
+ <item>
+ <key> <string>test_method_id</string> </key>
+ <value>
+ <tuple>
+ <string>DeliveryRule_testContextPortalType</string>
+ </tuple>
+ </value>
</item>
<item>
<key> <string>title</string> </key>
@@ -56,6 +68,10 @@
<value>
<none/>
</value>
+ </item>
+ <item>
+ <key> <string>version</string> </key>
+ <value> <string>1</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_order_rule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_order_rule.xml?rev=17420&r1=17419&r2=17420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_order_rule.xml (original)
+++ erp5/trunk/bt5/erp5_trade/PathTemplateItem/portal_rules/default_order_rule.xml Tue Nov 6 17:29:33 2007
@@ -40,12 +40,24 @@
</value>
</item>
<item>
+ <key> <string>default_reference</string> </key>
+ <value> <string>default_order_rule</string> </value>
+ </item>
+ <item>
<key> <string>id</string> </key>
<value> <string>default_order_rule</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Order Rule</string> </value>
+ </item>
+ <item>
+ <key> <string>test_method_id</string> </key>
+ <value>
+ <tuple>
+ <string>OrderRule_testContextPortalType</string>
+ </tuple>
+ </value>
</item>
<item>
<key> <string>title</string> </key>
@@ -56,6 +68,10 @@
<value>
<none/>
</value>
+ </item>
+ <item>
+ <key> <string>version</string> </key>
+ <value> <string>1</string> </value>
</item>
</dictionary>
</pickle>
Modified: erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml?rev=17420&r1=17419&r2=17420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml (original)
+++ erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml Tue Nov 6 17:29:33 2007
@@ -17,7 +17,7 @@
</chain>
<chain>
<type>Delivery Rule</type>
- <workflow>edit_workflow</workflow>
+ <workflow>edit_workflow, rule_validation_workflow</workflow>
</chain>
<chain>
<type>Discount</type>
@@ -41,7 +41,7 @@
</chain>
<chain>
<type>Order Rule</type>
- <workflow>edit_workflow</workflow>
+ <workflow>edit_workflow, rule_validation_workflow</workflow>
</chain>
<chain>
<type>Payment Condition</type>
Added: erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryRule_testContextPortalType.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryRule_testContextPortalType.xml?rev=17420&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryRule_testContextPortalType.xml (added)
+++ erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/DeliveryRule_testContextPortalType.xml Tue Nov 6 17:29:33 2007
@@ -1,0 +1,147 @@
+<?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>return context.getPortalType() in [\'Sale Packing 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>_owner</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>_getattr_</string>
+ <string>context</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>DeliveryRule_testContextPortalType</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/OrderRule_testContextPortalType.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/OrderRule_testContextPortalType.xml?rev=17420&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/OrderRule_testContextPortalType.xml (added)
+++ erp5/trunk/bt5/erp5_trade/SkinTemplateItem/portal_skins/erp5_trade/OrderRule_testContextPortalType.xml Tue Nov 6 17:29:33 2007
@@ -1,0 +1,147 @@
+<?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>return context.getPortalType() in [\'Sale Order\']\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>_owner</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>_getattr_</string>
+ <string>context</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>OrderRule_testContextPortalType</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=17420&r1=17419&r2=17420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision Tue Nov 6 17:29:33 2007
@@ -1,1 +1,1 @@
-139
+142
Modified: erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list?rev=17420&r1=17419&r2=17420&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list (original)
+++ erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list Tue Nov 6 17:29:33 2007
@@ -9,6 +9,7 @@
Delivery Cell | delivery_movement_causality_interaction_workflow
Delivery Cell | delivery_movement_simulation_interaction_workflow
Delivery Rule | edit_workflow
+Delivery Rule | rule_validation_workflow
Discount | edit_workflow
Internal Packing List Line | edit_workflow
Internal Packing List Line | pricing_interaction_workflow
@@ -21,6 +22,7 @@
Inventory | edit_workflow
Inventory | inventory_workflow
Order Rule | edit_workflow
+Order Rule | rule_validation_workflow
Payment Condition | edit_workflow
Purchase Order Cell | edit_workflow
Purchase Order Cell | order_movement_simulation_interaction_workflow
More information about the Erp5-report
mailing list