Commit 6c2c0a97 authored by Julien Muchembled's avatar Julien Muchembled

erp5_trade: fix duplicate id in InventoryConstraint

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43486 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f66f89df
......@@ -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()'),
......
1101
\ No newline at end of file
1102
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment