diff --git a/master/bt5/vifib_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml b/master/bt5/vifib_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml index 497ea91e018fc0addb5931d0e51253172c8d129e..e8a3b2d08153129da2b1dc39d549872f8d30e52f 100644 --- a/master/bt5/vifib_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml +++ b/master/bt5/vifib_erp5/PortalTypePropertySheetTemplateItem/property_sheet_list.xml @@ -5,7 +5,4 @@ <portal_type id="Open Sale Order Line"> <item>VifibOpenSaleOrderLineConstraint</item> </portal_type> - <portal_type id="Sale Packing List"> - <item>VifibSalePackingListConstraint</item> - </portal_type> </property_sheet_list> \ No newline at end of file diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint.xml deleted file mode 100644 index b9846b491d7867f84705223d4216f6d6d875b22e..0000000000000000000000000000000000000000 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Property Sheet" module="erp5.portal_type"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>_count</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> - </value> - </item> - <item> - <key> <string>_mt_index</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent> - </value> - </item> - <item> - <key> <string>_tree</string> </key> - <value> - <persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent> - </value> - </item> - <item> - <key> <string>description</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>VifibSalePackingListConstraint</string> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Property Sheet</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> -</ZopeData> diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/arrow_not_same_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/arrow_not_same_constraint.xml deleted file mode 100644 index 860c3346805df1f6ec82bcf6361ad0292d512e81..0000000000000000000000000000000000000000 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/arrow_not_same_constraint.xml +++ /dev/null @@ -1,76 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TALES Constraint" module="erp5.portal_type"/> - </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>description</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>expression</string> </key> - <value> <string>python: context.getSource() != context.getDestination() and context.getSourceSection() != context.getDestinationSection() and context.getSourceDecision() != context.getDestinationDecision()</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>arrow_not_same_constraint</string> </value> - </item> - <item> - <key> <string>message_expression_false</string> </key> - <value> <string>Arrow of document have to point to different documents</string> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>TALES Constraint</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/no_additional_applied_rule_order_causality_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/no_additional_applied_rule_order_causality_constraint.xml deleted file mode 100644 index 2b54e2bc4db2d8431f6e655469e972b401672a71..0000000000000000000000000000000000000000 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/no_additional_applied_rule_order_causality_constraint.xml +++ /dev/null @@ -1,114 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="Category Related Membership Arity Constraint" module="erp5.portal_type"/> - </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>constraint_base_category</string> </key> - <value> - <tuple> - <string>causality</string> - </tuple> - </value> - </item> - <item> - <key> <string>constraint_portal_type</string> </key> - <value> <string>python: (\'Applied Rule\',)</string> </value> - </item> - <item> - <key> <string>description</string> </key> - <value> <string>Sale Packing List build from Sale Order shall have no related Applied Rule.</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>no_additional_applied_rule_order_causality_constraint</string> </value> - </item> - <item> - <key> <string>int_index</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>max_arity</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>membership_criterion_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>min_arity</string> </key> - <value> <int>0</int> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>Category Related Membership Arity Constraint</string> </value> - </item> - <item> - <key> <string>string_index</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>test_method_id</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>test_tales_expression</string> </key> - <value> <string>python: len(context.getCausalityList()) != 0</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/specialise_value_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/specialise_value_constraint.xml deleted file mode 100644 index 17d8c3539d692190ef2ced62d2deac8cedb908e1..0000000000000000000000000000000000000000 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListConstraint/specialise_value_constraint.xml +++ /dev/null @@ -1,104 +0,0 @@ -<?xml version="1.0"?> -<ZopeData> - <record id="1" aka="AAAAAAAAAAE="> - <pickle> - <global name="TALES Constraint" module="erp5.portal_type"/> - </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>description</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>expression</string> </key> - <value> <string>python: object.getSpecialise() in ["sale_trade_condition_module/vifib_trade_condition", "sale_trade_condition_module/vifib_simple_trade_condition"]</string> </value> - </item> - <item> - <key> <string>id</string> </key> - <value> <string>specialise_value_constraint</string> </value> - </item> - <item> - <key> <string>int_index</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>membership_criterion_category</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>message_expression_false</string> </key> - <value> <string>Only Vifib trade condition is allowed</string> </value> - </item> - <item> - <key> <string>portal_type</string> </key> - <value> <string>TALES Constraint</string> </value> - </item> - <item> - <key> <string>string_index</string> </key> - <value> - <none/> - </value> - </item> - <item> - <key> <string>test_method_id</string> </key> - <value> - <tuple/> - </value> - </item> - <item> - <key> <string>test_tales_expression</string> </key> - <value> <string>python: context.getSpecialise() is not None</string> </value> - </item> - </dictionary> - </pickle> - </record> - <record id="2" aka="AAAAAAAAAAI="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> - <record id="3" aka="AAAAAAAAAAM="> - <pickle> - <global name="PersistentMapping" module="Persistence.mapping"/> - </pickle> - <pickle> - <dictionary> - <item> - <key> <string>data</string> </key> - <value> - <dictionary/> - </value> - </item> - </dictionary> - </pickle> - </record> -</ZopeData> diff --git a/master/bt5/vifib_erp5/bt/revision b/master/bt5/vifib_erp5/bt/revision index 995fb338a8d0db69b3a4be8d7c3c1c0a2d52dbfc..7dfce3516b5fa406a807fab6194df98c613e6aa8 100644 --- a/master/bt5/vifib_erp5/bt/revision +++ b/master/bt5/vifib_erp5/bt/revision @@ -1 +1 @@ -593 \ No newline at end of file +594 \ No newline at end of file diff --git a/master/bt5/vifib_erp5/bt/template_portal_type_property_sheet_list b/master/bt5/vifib_erp5/bt/template_portal_type_property_sheet_list index 6be9d2d633a6f91938c81dac1bfe3fa531dda845..ab01c33da63ff3cd7a5ef8eee70edc37bef2af7a 100644 --- a/master/bt5/vifib_erp5/bt/template_portal_type_property_sheet_list +++ b/master/bt5/vifib_erp5/bt/template_portal_type_property_sheet_list @@ -1,3 +1,2 @@ Open Sale Order Line | VifibOpenSaleOrderLineConstraint -Open Sale Order | VifibOpenSaleOrderConstraint -Sale Packing List | VifibSalePackingListConstraint \ No newline at end of file +Open Sale Order | VifibOpenSaleOrderConstraint \ No newline at end of file diff --git a/master/bt5/vifib_erp5/bt/template_property_sheet_id_list b/master/bt5/vifib_erp5/bt/template_property_sheet_id_list index 353ce34cfacfef7ecb9e037113c858aceb56d17c..96d6958eeb67e1748bc6d5d0d7b82bdb4c13af28 100644 --- a/master/bt5/vifib_erp5/bt/template_property_sheet_id_list +++ b/master/bt5/vifib_erp5/bt/template_property_sheet_id_list @@ -1,3 +1,2 @@ -VifibSalePackingListConstraint VifibOpenSaleOrderLineConstraint VifibOpenSaleOrderConstraint \ No newline at end of file