diff --git a/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py b/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py index 3f53d6e1ef639a97cc6c962165e7f9295bc4ea2a..267c68d1a2bb0f994f53b735f62c4493b416a4e1 100644 --- a/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py +++ b/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py @@ -36,14 +36,14 @@ class InventoryConstraint: 'id': 'duplicate_inventory', 'type': 'DuplicateInventory', }, - { 'id' : 'category_existence', + { 'id' : 'destination_category_existence', 'description' : 'Destination must be defined', 'type' : 'CategoryExistence', 'portal_type' : Expression('python: portal.getPortalNodeTypeList()'), 'destination' : 1, 'message_category_not_set': 'Wharehouse must be defined', }, - { 'id' : 'category_existence', + { 'id' : 'destination_section_category_existence', 'description' : 'Destination section must be defined', 'type' : 'CategoryExistence', 'portal_type' : Expression('python: portal.getPortalNodeTypeList()'), diff --git a/bt5/erp5_trade/bt/revision b/bt5/erp5_trade/bt/revision index 1ea87ef70d2dcbd9cf385b53ce6fa34f56d910b9..4d642625f2bda51564aa740fb8f9946a3fbe4a2f 100644 --- a/bt5/erp5_trade/bt/revision +++ b/bt5/erp5_trade/bt/revision @@ -1 +1 @@ -1101 \ No newline at end of file +1102 \ No newline at end of file