From 6c2c0a97b0d46e28874e3e24a00bd0915d741007 Mon Sep 17 00:00:00 2001 From: Julien Muchembled <jm@nexedi.com> Date: Sat, 19 Feb 2011 02:10:41 +0000 Subject: [PATCH] erp5_trade: fix duplicate id in InventoryConstraint git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43486 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../PropertySheetTemplateItem/InventoryConstraint.py | 4 ++-- bt5/erp5_trade/bt/revision | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py b/bt5/erp5_trade/PropertySheetTemplateItem/InventoryConstraint.py index 3f53d6e1ef..267c68d1a2 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 1ea87ef70d..4d642625f2 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 -- 2.30.9