diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule.xml new file mode 100644 index 0000000000000000000000000000000000000000..df738b78279e64ab68ab08c19acf153f8b0d6553 --- /dev/null +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule.xml @@ -0,0 +1,272 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <tuple> + <global name="InvoiceTransactionRule" module="Products.ERP5Type.Document.InvoiceTransactionRule"/> + <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> + <dictionary/> + </value> + </item> + <item> + <key> <string>_mt_index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> + </value> + </item> + <item> + <key> <string>_range_criterion</string> </key> + <value> + <dictionary/> + </value> + </item> + <item> + <key> <string>_tree</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> + </value> + </item> + <item> + <key> <string>categories</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>default_reference</string> </key> + <value> <string>default_invoice_transaction_rule</string> </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>new_invoice_transaction_rule</string> </value> + </item> + <item> + <key> <string>index</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent> + </value> + </item> + <item> + <key> <string>last_id</string> </key> + <value> <string>15</string> </value> + </item> + <item> + <key> <string>matching_property</string> </key> + <value> + <tuple/> + </value> + </item> + <item> + <key> <string>portal_type</string> </key> + <value> <string>Invoice Transaction Rule</string> </value> + </item> + <item> + <key> <string>test_method_id</string> </key> + <value> + <tuple> + <string>SimulationMovement_testInvoiceTransactionRule</string> + </tuple> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>New Default Invoice Transaction 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> + <global name="OOBTree" module="BTrees._OOBTree"/> + </pickle> + <pickle> + <none/> + </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> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>movement</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent> + </value> + </item> + <item> + <key> <string>vat_per_region</string> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="6" aka="AAAAAAAAAAY="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary/> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="7" aka="AAAAAAAAAAc="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <int>0</int> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAg=</string> </persistent> + </value> + </item> + <item> + <key> <int>1</int> </key> + <value> + <persistent> <string encoding="base64">AAAAAAAAAAk=</string> </persistent> + </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="8" aka="AAAAAAAAAAg="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>portal_rules/default_invoice_transaction_rule/4</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> + <record id="9" aka="AAAAAAAAAAk="> + <pickle> + <tuple> + <tuple> + <string>Persistence</string> + <string>PersistentMapping</string> + </tuple> + <none/> + </tuple> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>_container</string> </key> + <value> + <dictionary> + <item> + <key> <string>portal_rules/default_invoice_transaction_rule/10</string> </key> + <value> <int>2</int> </value> + </item> + <item> + <key> <string>portal_rules/default_invoice_transaction_rule/11</string> </key> + <value> <int>1</int> </value> + </item> + <item> + <key> <string>portal_rules/default_invoice_transaction_rule/12</string> </key> + <value> <int>0</int> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/1.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/1.xml new file mode 100644 index 0000000000000000000000000000000000000000..3f9ec55cba0332f6a378a5eb77b01fbed2cfa14a --- /dev/null +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/1.xml @@ -0,0 +1,103 @@ +<?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/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>divergence_provider</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>1</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>source</string> + </tuple> + </value> + </item> + <item> + <key> <string>title</string> </key> + <value> <string>source 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> diff --git a/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/2.xml b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/2.xml new file mode 100644 index 0000000000000000000000000000000000000000..738d0675c20f73304a75bdf0e51a5311e4e95c7a --- /dev/null +++ b/bt5/erp5_simulation/PathTemplateItem/portal_rules/new_invoice_transaction_rule/2.xml @@ -0,0 +1,103 @@ +<?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/> + </value> + </item> + <item> + <key> <string>description</string> </key> + <value> + <none/> + </value> + </item> + <item> + <key> <string>divergence_provider</string> </key> + <value> <int>0</int> </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>2</string> </value> + </item> + <item> + <key> <string>matching_provider</string> </key> + <value> <int>2</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>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> diff --git a/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml b/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml index 562fc6a62ed58806954be1a180464d08b3dd5010..ec492b479e84a82a50f6c180e1a8f0999df63dfc 100644 --- a/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml +++ b/bt5/erp5_simulation/PortalTypeAllowedContentTypeTemplateItem/allowed_content_types.xml @@ -1,4 +1,12 @@ <allowed_content_type_list> + <portal_type id="Invoice Transaction Rule"> + <item>Category Membership Divergence Tester</item> + <item>DateTime Divergence Tester</item> + <item>Float Divergence Tester</item> + <item>Net Converted Quantity Divergence Tester</item> + <item>String Divergence Tester</item> + <item>Variation Divergence Tester</item> + </portal_type> <portal_type id="Invoicing Rule"> <item>Category Membership Divergence Tester</item> <item>DateTime Divergence Tester</item> diff --git a/bt5/erp5_simulation/bt/template_path_list b/bt5/erp5_simulation/bt/template_path_list index 9d9623132ed798ee62570421608028f07849d72e..45c9a1363befca4cacc1590aa8d26ef4c3d6e5b2 100644 --- a/bt5/erp5_simulation/bt/template_path_list +++ b/bt5/erp5_simulation/bt/template_path_list @@ -1,5 +1,7 @@ portal_rules/default_invoicing_rule portal_rules/default_invoicing_rule/3 +portal_rules/new_invoice_transaction_rule +portal_rules/new_invoice_transaction_rule/** portal_rules/new_invoicing_rule portal_rules/new_invoicing_rule/** portal_rules/new_order_rule diff --git a/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list b/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list index f9af598296108a39d5aeb9ba358228f8bb165345..5a7a846cf026e01aaf35a298bc3dad3293598b44 100644 --- a/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list +++ b/bt5/erp5_simulation/bt/template_portal_type_allowed_content_type_list @@ -4,6 +4,12 @@ Invoicing Rule | Float Divergence Tester Invoicing Rule | Net Converted Quantity Divergence Tester Invoicing Rule | String Divergence Tester Invoicing Rule | Variation Divergence Tester +Invoice Transaction Rule | Category Membership Divergence Tester +Invoice Transaction Rule | DateTime Divergence Tester +Invoice Transaction Rule | Float Divergence Tester +Invoice Transaction Rule | Net Converted Quantity Divergence Tester +Invoice Transaction Rule | String Divergence Tester +Invoice Transaction Rule | Variation Divergence Tester Order Rule | Category Membership Divergence Tester Order Rule | DateTime Divergence Tester Order Rule | Float Divergence Tester