[Erp5-report] r21080 - /erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 22 14:22:50 CEST 2008
Author: jerome
Date: Thu May 22 14:22:47 2008
New Revision: 21080
URL: http://svn.erp5.org?rev=21080&view=rev
Log:
'description' key was duplicated, message* keys were missing. Again thx romain.
Modified:
erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py
Modified: erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py?rev=21080&r1=21079&r2=21080&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/CalendarConstraint.py Thu May 22 14:22:47 2008
@@ -33,24 +33,24 @@
_constraints = (
{ 'id' : 'presence_request_line',
- 'description' : 'Must contain at least one period',
'type' : 'ContentExistence',
'portal_type' : ('Presence Request Period', ),
'description' : 'No Presence Request Period created yet',
+ 'message_no_subobject_portal_type': 'No Presence Request Period created yet',
'condition' : 'python: object.getPortalType() == "Presence Request"',
},
{ 'id' : 'leave_request_line',
- 'description' : 'Must contain at least one period',
'type' : 'ContentExistence',
'portal_type' : ('Leave Request Period', ),
'description' : 'No Leave Request Period created yet',
+ 'message_no_subobject_portal_type': 'No Leave Request Period created yet',
'condition' : 'python: object.getPortalType() == "Leave Request"',
},
{ 'id' : 'group_request_line',
- 'description' : 'Must contain at least one period',
'type' : 'ContentExistence',
'portal_type' : ('Group Leave Period', 'Group Presence Period', ),
'description' : 'No Calendar Line created yet',
+ 'message_no_subobject_portal_type': 'No Calendar Line created yet',
'condition' : 'python: object.getPortalType() == "Group Calendar"',
},
More information about the Erp5-report
mailing list