[Erp5-report] r23988 - in /erp5/trunk/bt5/erp5_trade: PortalTypeWorkflowChainTemplateItem/ ...
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 2 17:48:02 CEST 2008
Author: jerome
Date: Thu Oct 2 17:47:59 2008
New Revision: 23988
URL: http://svn.erp5.org?rev=23988&view=rev
Log:
2008-10-02 Jerome
* Add delivery_tax_interaction workflow to update tax line when delivery line is deleted.
Added:
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/TaxableMovement_delete.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/Delivery_updateTaxLineList.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/variables.xml
erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/worklists.xml
Modified:
erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml
erp5/trunk/bt5/erp5_trade/bt/change_log
erp5/trunk/bt5/erp5_trade/bt/revision
erp5/trunk/bt5/erp5_trade/bt/template_portal_type_workflow_chain_list
erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list
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=23988&r1=23987&r2=23988&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml (original)
+++ erp5/trunk/bt5/erp5_trade/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml Thu Oct 2 17:47:59 2008
@@ -57,7 +57,7 @@
</chain>
<chain>
<type>Purchase Order</type>
- <workflow>edit_workflow, order_workflow, order_simulation_interaction_workflow</workflow>
+ <workflow>edit_workflow, order_workflow, order_simulation_interaction_workflow, delivery_tax_interaction_workflow</workflow>
</chain>
<chain>
<type>Purchase Order Cell</type>
@@ -97,7 +97,7 @@
</chain>
<chain>
<type>Sale Order</type>
- <workflow>edit_workflow, order_workflow, order_simulation_interaction_workflow</workflow>
+ <workflow>edit_workflow, order_workflow, order_simulation_interaction_workflow, delivery_tax_interaction_workflow</workflow>
</chain>
<chain>
<type>Sale Order Cell</type>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,31 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="InteractionWorkflowDefinition" module="Products.ERP5.InteractionWorkflow"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_objects</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>groups</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>delivery_tax_interaction_workflow</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,31 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="Interaction" module="Products.ERP5.Interaction"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_mapping</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_objects</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>interactions</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/TaxableMovement_delete.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/TaxableMovement_delete.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/TaxableMovement_delete.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/TaxableMovement_delete.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,87 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="InteractionDefinition" module="Products.ERP5.Interaction"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>actbox_category</string> </key>
+ <value> <string>workflow</string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_name</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>actbox_url</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>activate_script_name</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>after_script_name</string> </key>
+ <value>
+ <list>
+ <string>Delivery_updateTaxLineList</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>description</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>guard</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>TaxableMovement_delete</string> </value>
+ </item>
+ <item>
+ <key> <string>method_id</string> </key>
+ <value>
+ <list>
+ <string>_delObject</string>
+ </list>
+ </value>
+ </item>
+ <item>
+ <key> <string>once_per_transaction</string> </key>
+ <value> <int>0</int> </value>
+ </item>
+ <item>
+ <key> <string>portal_type_filter</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>script_name</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string>Updates tax line when a taxable movement is deleted</string> </value>
+ </item>
+ <item>
+ <key> <string>trigger_type</string> </key>
+ <value> <int>2</int> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,31 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="Scripts" module="Products.DCWorkflow.Scripts"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_mapping</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_objects</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>scripts</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/Delivery_updateTaxLineList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/Delivery_updateTaxLineList.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/Delivery_updateTaxLineList.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/scripts/Delivery_updateTaxLineList.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,125 @@
+<?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>delivery = state_change[\'object\']\n
+delivery.Delivery_updateTaxLineList()\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_code</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string>state_change</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>state_change</string>
+ <string>_getitem_</string>
+ <string>delivery</string>
+ <string>_getattr_</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>Delivery_updateTaxLineList</string> </value>
+ </item>
+ <item>
+ <key> <string>warnings</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/variables.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/variables.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/variables.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/variables.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,25 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="Variables" module="Products.DCWorkflow.Variables"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_mapping</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>variables</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/worklists.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/worklists.xml?rev=23988&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/worklists.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/worklists.xml Thu Oct 2 17:47:59 2008
@@ -1,0 +1,25 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="Worklists" module="Products.DCWorkflow.Worklists"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>_mapping</string> </key>
+ <value>
+ <dictionary/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>worklists</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_trade/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/change_log?rev=23988&r1=23987&r2=23988&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_trade/bt/change_log Thu Oct 2 17:47:59 2008
@@ -1,3 +1,6 @@
+2008-10-02 Jerome
+* Add delivery_tax_interaction workflow to update tax line when delivery line is deleted.
+
2008-09-16 Kazuhiko
* revise purchase_packing_list_builder and sale_packing_list_builder using new API.
* use delivery_causality_workflow instead of invoice_causality_workflow in Internal Packing List, Purchase Packing List and Sale Packing List.
Modified: erp5/trunk/bt5/erp5_trade/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/revision?rev=23988&r1=23987&r2=23988&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision Thu Oct 2 17:47:59 2008
@@ -1,1 +1,1 @@
-505
+504
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=23988&r1=23987&r2=23988&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 Thu Oct 2 17:47:59 2008
@@ -44,6 +44,7 @@
Purchase Order Line | pricing_interaction_workflow
Purchase Order Line | tax_interaction_workflow
Purchase Order Line | trade_matrix_workflow
+Purchase Order | delivery_tax_interaction_workflow
Purchase Order | edit_workflow
Purchase Order | order_simulation_interaction_workflow
Purchase Order | order_workflow
@@ -75,6 +76,7 @@
Sale Order Line | pricing_interaction_workflow
Sale Order Line | tax_interaction_workflow
Sale Order Line | trade_matrix_workflow
+Sale Order | delivery_tax_interaction_workflow
Sale Order | edit_workflow
Sale Order | order_simulation_interaction_workflow
Sale Order | order_workflow
Modified: erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list?rev=23988&r1=23987&r2=23988&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list (original)
+++ erp5/trunk/bt5/erp5_trade/bt/template_workflow_id_list Thu Oct 2 17:47:59 2008
@@ -1,4 +1,5 @@
container_interaction_workflow
+delivery_tax_interaction_workflow
internal_packing_list_workflow
inventory_workflow
order_workflow
More information about the Erp5-report
mailing list