[Erp5-report] r32070 kazuhiko - in /erp5/trunk/bt5/erp5_simulation: DocumentTemplateItem/ P...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 28 17:23:33 CET 2010


Author: kazuhiko
Date: Thu Jan 28 17:23:32 2010
New Revision: 32070

URL: http://svn.erp5.org?rev=32070&view=rev
Log:
add the new Invoice Rule.

Added:
    erp5/trunk/bt5/erp5_simulation/DocumentTemplateItem/InvoiceRule.py
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/1.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/10.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/11.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/12.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/13.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/14.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/15.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/16.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/17.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/18.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/19.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/21.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/4.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/5.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/6.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/7.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/8.xml
    erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/9.xml
Modified:
    erp5/trunk/bt5/erp5_simulation/bt/template_document_id_list
    erp5/trunk/bt5/erp5_simulation/bt/template_path_list

Added: erp5/trunk/bt5/erp5_simulation/DocumentTemplateItem/InvoiceRule.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/DocumentTemplateItem/InvoiceRule.py?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/DocumentTemplateItem/InvoiceRule.py (added)
+++ erp5/trunk/bt5/erp5_simulation/DocumentTemplateItem/InvoiceRule.py [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,153 @@
+##############################################################################
+#
+# Copyright (c) 2010 Nexedi SA and Contributors. All Rights Reserved.
+#
+# WARNING: This program as such is intended to be used by professional
+# programmers who take the whole responsibility of assessing all potential
+# consequences resulting from its eventual inadequacies and bugs
+# End users who are looking for a ready-to-use solution with commercial
+# guarantees and support are strongly adviced to contract a Free Software
+# Service Company
+#
+# This program is Free Software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+##############################################################################
+"""
+XXX This file is experimental for new simulation implementation, and
+will replace InvoiceRule.
+"""
+
+import zope.interface
+from AccessControl import ClassSecurityInfo
+from Products.ERP5Type import Permissions, PropertySheet, interfaces
+from Products.ERP5.Document.Predicate import Predicate
+from Products.ERP5.mixin.rule import RuleMixin
+from Products.ERP5.mixin.movement_collection_updater import \
+     MovementCollectionUpdaterMixin
+from Products.ERP5.mixin.movement_generator import MovementGeneratorMixin
+
+class InvoiceRule(RuleMixin, MovementCollectionUpdaterMixin, Predicate):
+  """
+  InvoiceRule and DeliveryRule seems to be identical. Keep it for
+  compatibility only.
+  """
+  # CMF Type Definition
+  meta_type = 'ERP5 Invoice Rule'
+  portal_type = 'Invoice Rule'
+
+  # Declarative security
+  security = ClassSecurityInfo()
+  security.declareObjectProtected(Permissions.AccessContentsInformation)
+
+  # Declarative interfaces
+  zope.interface.implements(interfaces.IRule,
+                            interfaces.IDivergenceController,
+                            interfaces.IMovementCollectionUpdater,)
+
+  # Default Properties
+  property_sheets = (
+    PropertySheet.Base,
+    PropertySheet.XMLObject,
+    PropertySheet.CategoryCore,
+    PropertySheet.DublinCore,
+    PropertySheet.Task,
+    PropertySheet.Predicate,
+    PropertySheet.Reference,
+    PropertySheet.Version,
+    PropertySheet.Rule
+    )
+
+  def _getMovementGenerator(self):
+    """
+    Return the movement generator to use in the expand process
+    """
+    return InvoiceRuleMovementGenerator()
+
+  def _getMovementGeneratorContext(self, context):
+    """
+    Return the movement generator context to use for expand
+    """
+    return context
+
+  def _getMovementGeneratorMovementList(self):
+    """
+    Return the movement lists to provide to the movement generator
+    """
+    return []
+
+  def _isProfitAndLossMovement(self, movement):
+    # For a kind of trade rule, a profit and loss movement lacks source
+    # or destination.
+    return (movement.getSource() is None or movement.getDestination() is None)
+
+class InvoiceRuleMovementGenerator(MovementGeneratorMixin):
+  def getGeneratedMovementList(self, context, movement_list=None,
+                                rounding=False):
+    """
+    Input movement list comes from delivery
+    """
+    ret = []
+    for input_movement, business_path in self \
+            ._getInputMovementAndPathTupleList(context):
+      kw = self._getPropertyAndCategoryList(input_movement, business_path)
+      simulation_movement = context.newContent(
+        portal_type=RuleMixin.movement_type,
+        temp_object=True,
+        order_value=input_movement,
+        delivery_value=input_movement,
+        **kw)
+      ret.append(simulation_movement)
+    return ret
+
+  def _getInputMovementList(self, context):
+    """Input movement list comes from delivery"""
+    delivery = context.getDefaultCausalityValue()
+    if delivery is None:
+      return []
+    else:
+      ret = []
+      existing_movement_list = context.objectValues()
+      for movement in delivery.getMovementList(
+        portal_type=(delivery.getPortalInvoiceMovementTypeList() + \
+                     delivery.getPortalTaxMovementTypeList())):
+        simulation_movement = self._getDeliveryRelatedSimulationMovement(movement)
+        if simulation_movement is None or \
+               simulation_movement in existing_movement_list:
+          ret.append(movement)
+      return ret
+
+  def _getDeliveryRelatedSimulationMovement(self, delivery_movement):
+    """Helper method to get the delivery related simulation movement.
+    This method is more robust than simply calling getDeliveryRelatedValue
+    which will not work if simulation movements are not indexed.
+    """
+    simulation_movement = delivery_movement.getDeliveryRelatedValue()
+    if simulation_movement is not None:
+      return simulation_movement
+    # simulation movement was not found, maybe simply because it's not indexed
+    # yet. We'll look in the simulation tree and try to find it anyway before
+    # creating another simulation movement.
+    # Try to find the one from trade model rule, which is the most common case
+    # where we may expand again before indexation of simulation movements is
+    # finished.
+    delivery = delivery_movement.getExplanationValue()
+    for movement in delivery.getMovementList():
+      related_simulation_movement = movement.getDeliveryRelatedValue()
+      if related_simulation_movement is not None:
+        for applied_rule in related_simulation_movement.contentValues():
+          for simulation_movement in applied_rule.contentValues():
+            if simulation_movement.getDeliveryValue() == delivery_movement:
+              return simulation_movement
+    return None

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,139 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="InvoiceRule" module="Products.ERP5Type.Document.InvoiceRule"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_count</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_mt_index</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_tree</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>default_reference</string> </key>
+            <value> <string>default_invoice_rule</string> </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>new_invoice_rule</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Invoice Rule</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>New Invoice Rule</string> </value>
+        </item>
+        <item>
+            <key> <string>version</string> </key>
+            <value> <string>2</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="Length" module="BTrees.Length"/>
+    </pickle>
+    <pickle> <int>0</int> </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="4" aka="AAAAAAAAAAQ=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+  <record id="5" aka="AAAAAAAAAAU=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>start_date</string> </key>
+                    <value>
+                      <tuple>
+                        <none/>
+                        <none/>
+                      </tuple>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="6" aka="AAAAAAAAAAY=">
+    <pickle>
+      <global name="OOBTree" module="BTrees._OOBTree"/>
+    </pickle>
+    <pickle>
+      <none/>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/1.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/1.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/1.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/1.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>1</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>aggregate</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>aggregate divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/10.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/10.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/10.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/10.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>10</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>source</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>source divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/11.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/11.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/11.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/11.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>11</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>source_account</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>source_account divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/12.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/12.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/12.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/12.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>12</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>source_function</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>source_function divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/13.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/13.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/13.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/13.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>13</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>source_project</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>source_project divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/14.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/14.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/14.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/14.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>14</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>source_section</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>source_section divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/15.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/15.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/15.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/15.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,102 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>solver/portal_types/Resource Adoption Solver</string>
+                <string>solver/portal_types/Resource Replacement Solver</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>15</string> </value>
+        </item>
+        <item>
+            <key> <string>matching_provider</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>resource</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>resource divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/16.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/16.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/16.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/16.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,39 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="VariationDivergenceTester" module="Products.ERP5Type.Document.VariationDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>16</string> </value>
+        </item>
+        <item>
+            <key> <string>matching_provider</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Variation Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>variation_property_dict</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>variation_property_dict divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/17.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/17.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/17.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/17.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,118 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DateTimeDivergenceTester" module="Products.ERP5Type.Document.DateTimeDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>solver/portal_types/Start Date Replacement Solver</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>17</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>DateTime Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>quantity</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>start_date</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>start_date divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/18.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/18.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/18.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/18.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,56 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="DateTimeDivergenceTester" module="Products.ERP5Type.Document.DateTimeDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>18</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>DateTime Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>quantity</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>stop_date</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>stop_date divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/19.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/19.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/19.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/19.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,134 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="NetConvertedQuantityDivergenceTester" module="Products.ERP5Type.Document.NetConvertedQuantityDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>use_delivery_ratio</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>solver/portal_types/Quantity Accept Solver</string>
+                <string>solver/portal_types/Quantity Adoption Solver</string>
+                <string>solver/portal_types/Quantity Split Solver</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>19</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Net Converted Quantity Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>quantity</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>quantity</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>quantity divergence tester</string> </value>
+        </item>
+        <item>
+            <key> <string>use_delivery_ratio</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/21.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/21.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/21.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/21.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,130 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="FloatDivergenceTester" module="Products.ERP5Type.Document.FloatDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_local_properties</string> </key>
+            <value>
+              <tuple>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>quantity</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+                <dictionary>
+                  <item>
+                      <key> <string>id</string> </key>
+                      <value> <string>use_delivery_ratio</string> </value>
+                  </item>
+                  <item>
+                      <key> <string>type</string> </key>
+                      <value> <string>int</string> </value>
+                  </item>
+                </dictionary>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>21</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Float Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>quantity</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>price</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>price divergence tester</string> </value>
+        </item>
+        <item>
+            <key> <string>use_delivery_ratio</string> </key>
+            <value> <int>1</int> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/4.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/4.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/4.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/4.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,97 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_identity_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>_range_criterion</string> </key>
+            <value>
+              <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
+            </value>
+        </item>
+        <item>
+            <key> <string>categories</string> </key>
+            <value>
+              <tuple>
+                <string>solver/portal_types/Destination Replacement Solver</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>description</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>4</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>destination divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="3" aka="AAAAAAAAAAM=">
+    <pickle>
+      <tuple>
+        <global name="PersistentMapping" module="Persistence.mapping"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>data</string> </key>
+            <value>
+              <dictionary/>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/5.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/5.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/5.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/5.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>5</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination_account</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>destination_account divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/6.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/6.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/6.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/6.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>6</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination_function</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>destination_function divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/7.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/7.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/7.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/7.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>7</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination_project</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>destination_project divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/8.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/8.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/8.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/8.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>8</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>destination_section</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>destination_section divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Added: erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/9.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/9.xml?rev=32070&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/9.xml (added)
+++ erp5/trunk/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_rule/9.xml [utf8] Thu Jan 28 17:23:32 2010
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="CategoryMembershipDivergenceTester" module="Products.ERP5Type.Document.CategoryMembershipDivergenceTester"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>9</string> </value>
+        </item>
+        <item>
+            <key> <string>portal_type</string> </key>
+            <value> <string>Category Membership Divergence Tester</string> </value>
+        </item>
+        <item>
+            <key> <string>tested_property</string> </key>
+            <value>
+              <tuple>
+                <string>price_currency</string>
+              </tuple>
+            </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>price_currency divergence tester</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/erp5_simulation/bt/template_document_id_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/bt/template_document_id_list?rev=32070&r1=32069&r2=32070&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/bt/template_document_id_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/bt/template_document_id_list [utf8] Thu Jan 28 17:23:32 2010
@@ -1,4 +1,5 @@
 DeliveryRule
+InvoiceRule
 InvoiceTransactionRule
 InvoicingRule
 OrderRule

Modified: erp5/trunk/bt5/erp5_simulation/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_simulation/bt/template_path_list?rev=32070&r1=32069&r2=32070&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_simulation/bt/template_path_list [utf8] (original)
+++ erp5/trunk/bt5/erp5_simulation/bt/template_path_list [utf8] Thu Jan 28 17:23:32 2010
@@ -2,6 +2,8 @@
 portal_rules/default_invoicing_rule/3
 portal_rules/new_delivery_rule
 portal_rules/new_delivery_rule/**
+portal_rules/new_invoice_rule
+portal_rules/new_invoice_rule/**
 portal_rules/new_invoice_transaction_rule
 portal_rules/new_invoice_transaction_rule/**
 portal_rules/new_invoicing_rule




More information about the Erp5-report mailing list