From 625e7781fb24a481a95622f5c427f532b6b2d1d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Mon, 19 May 2008 13:04:05 +0000
Subject: [PATCH] use the good message ID

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21012 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/TradeOrder.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/product/ERP5/PropertySheet/TradeOrder.py b/product/ERP5/PropertySheet/TradeOrder.py
index e2b8815bb7..6ebc7e1bc2 100644
--- a/product/ERP5/PropertySheet/TradeOrder.py
+++ b/product/ERP5/PropertySheet/TradeOrder.py
@@ -44,35 +44,35 @@ class TradeOrder:
       'type'          : 'CategoryExistence',
       'portal_type'   : ('Person', 'Organisation'),
       'source_section': 1,
-      'message': 'Supplier must be defined',
+      'message_category_not_set': 'Supplier must be defined',
     },
     { 'id'            : 'destination_section_category_existence',
       'description'   : 'Destination section must be defined',
       'type'          : 'CategoryExistence',
       'portal_type'   : ('Person', 'Organisation'),
       'destination_section': 1,
-      'message': 'Client must be defined',
+      'message_category_not_set': 'Client must be defined',
     },
     { 'id'            : 'source_category_existence',
       'description'   : 'Source must be defined',
       'type'          : 'CategoryExistence',
       'portal_type'   : ('Person', 'Organisation'),
       'source': 1,
-      'message': 'Sender or Provider must be defined',
+      'message_category_not_set': 'Sender or Provider must be defined',
     },
     { 'id'            : 'destination_category_existence',
       'description'   : 'Destination must be defined',
       'type'          : 'CategoryExistence',
       'portal_type'   : ('Person', 'Organisation'),
       'destination': 1,
-      'message': 'Recipient or Beneficiary must be defined',
+      'message_category_not_set': 'Recipient or Beneficiary must be defined',
     },
     { 'id'            : 'price_currency_category_existence',
       'description'   : 'Price Currency must be defined',
       'type'          : 'CategoryExistence',
       'portal_type'   : ('Currency', ),
       'price_currency': 1,
-      'message': 'Currency must be defined',
+      'message_category_not_set': 'Currency must be defined',
     },
     { 'id'            : 'total_quantity',
       'description'   : 'Total Quantity must not be 0',
-- 
2.30.9