diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/quantity_existence_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/property_existence_constraint.xml similarity index 61% rename from master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/quantity_existence_constraint.xml rename to master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/property_existence_constraint.xml index 656c55fdf7010f1b24adad650a3d461b2fa6ecca..1297309b877adfc447c33c83e48363592bebd156 100644 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/quantity_existence_constraint.xml +++ b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSaleOrderLineConstraint/property_existence_constraint.xml @@ -12,23 +12,6 @@ <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>message_property_not_set</string> </value> - </item> - <item> - <key> <string>type</string> </key> - <value> <string>string</string> </value> - </item> - </dictionary> - </tuple> - </value> - </item> <item> <key> <string>_range_criterion</string> </key> <value> @@ -39,34 +22,25 @@ <key> <string>constraint_property</string> </key> <value> <tuple> + <string>price</string> <string>quantity</string> </tuple> </value> </item> <item> <key> <string>description</string> </key> - <value> <string>Property quantity must be defined</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>id</string> </key> - <value> <string>quantity_existence_constraint</string> </value> - </item> - <item> - <key> <string>message_no_such_property</string> </key> - <value> <string>Property quantity must be defined</string> </value> - </item> - <item> - <key> <string>message_property_not_set</string> </key> - <value> <string>Property quantity must be defined</string> </value> + <value> <string>property_existence_constraint</string> </value> </item> <item> <key> <string>portal_type</string> </key> <value> <string>Property Existence Constraint</string> </value> </item> - <item> - <key> <string>test_tales_expression</string> </key> - <value> <string>python: object.getSimulationState() != \'draft\'</string> </value> - </item> </dictionary> </pickle> </record> diff --git a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/quantity_existence_constraint.xml b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/property_existence_constraint.xml similarity index 61% rename from master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/quantity_existence_constraint.xml rename to master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/property_existence_constraint.xml index 656c55fdf7010f1b24adad650a3d461b2fa6ecca..1297309b877adfc447c33c83e48363592bebd156 100644 --- a/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/quantity_existence_constraint.xml +++ b/master/bt5/vifib_erp5/PropertySheetTemplateItem/portal_property_sheets/VifibSalePackingListLineConstraint/property_existence_constraint.xml @@ -12,23 +12,6 @@ <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>message_property_not_set</string> </value> - </item> - <item> - <key> <string>type</string> </key> - <value> <string>string</string> </value> - </item> - </dictionary> - </tuple> - </value> - </item> <item> <key> <string>_range_criterion</string> </key> <value> @@ -39,34 +22,25 @@ <key> <string>constraint_property</string> </key> <value> <tuple> + <string>price</string> <string>quantity</string> </tuple> </value> </item> <item> <key> <string>description</string> </key> - <value> <string>Property quantity must be defined</string> </value> + <value> + <none/> + </value> </item> <item> <key> <string>id</string> </key> - <value> <string>quantity_existence_constraint</string> </value> - </item> - <item> - <key> <string>message_no_such_property</string> </key> - <value> <string>Property quantity must be defined</string> </value> - </item> - <item> - <key> <string>message_property_not_set</string> </key> - <value> <string>Property quantity must be defined</string> </value> + <value> <string>property_existence_constraint</string> </value> </item> <item> <key> <string>portal_type</string> </key> <value> <string>Property Existence Constraint</string> </value> </item> - <item> - <key> <string>test_tales_expression</string> </key> - <value> <string>python: object.getSimulationState() != \'draft\'</string> </value> - </item> </dictionary> </pickle> </record> diff --git a/master/bt5/vifib_erp5/bt/revision b/master/bt5/vifib_erp5/bt/revision index 7b89b2202c953386efdf6390320429ff42de30a2..009bd2c17f2ddaf16118b7026a6a0697abb66f71 100644 --- a/master/bt5/vifib_erp5/bt/revision +++ b/master/bt5/vifib_erp5/bt/revision @@ -1 +1 @@ -406 \ No newline at end of file +407 \ No newline at end of file