[Erp5-report] r25604 - in /erp5/trunk/bt5/erp5_trade: WorkflowTemplateItem/portal_workflow/...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Feb 18 13:17:42 CET 2009


Author: jerome
Date: Wed Feb 18 13:17:36 2009
New Revision: 25604

URL: http://svn.erp5.org?rev=25604&view=rev
Log:
Recalculate tax lines after the delivery is solved. This way, if user solved divergence using inconsistent decisions (ie. decisions that would make the tax line applied on wrong values), then the delivery will remain diverged until divergences are solved in a consistent way.

Added:
    erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/afterSolve.xml
Modified:
    erp5/trunk/bt5/erp5_trade/bt/revision

Added: erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/afterSolve.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/afterSolve.xml?rev=25604&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/afterSolve.xml (added)
+++ erp5/trunk/bt5/erp5_trade/WorkflowTemplateItem/portal_workflow/delivery_tax_interaction_workflow/interactions/afterSolve.xml [utf8] Wed Feb 18 13:17:36 2009
@@ -1,0 +1,94 @@
+<?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>before_commit_script_name</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value> <string>After solving a divergence, we update again tax lines, this way if the user choose inconsistent solving, the delivery will become divergent again.\r\n
+(for example accepting divergence on an invoice line and adopting divergence on corresponding tax lines)</string> </value>
+        </item>
+        <item>
+            <key> <string>guard</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>afterSolve</string> </value>
+        </item>
+        <item>
+            <key> <string>method_id</string> </key>
+            <value>
+              <list>
+                <string>converge</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></string> </value>
+        </item>
+        <item>
+            <key> <string>trigger_type</string> </key>
+            <value> <int>2</int> </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=25604&r1=25603&r2=25604&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_trade/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_trade/bt/revision [utf8] Wed Feb 18 13:17:36 2009
@@ -1,1 +1,1 @@
-597
+599




More information about the Erp5-report mailing list