[Erp5-report] r22995 - /erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Aug 14 14:06:39 CEST 2008
Author: thibaut
Date: Thu Aug 14 14:06:38 2008
New Revision: 22995
URL: http://svn.erp5.org?rev=22995&view=rev
Log:
thibaut
improve constraint for M0 form and P0 form
Modified:
erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0Constraint.py
erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py
Modified: erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0Constraint.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0Constraint.py?rev=22995&r1=22994&r2=22995&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0Constraint.py (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/M0Constraint.py Thu Aug 14 14:06:38 2008
@@ -70,11 +70,6 @@
'type' : 'PropertyExistence',
'activity_free_text': None,
},
- { 'id' : 'beginning_date_existence',
- 'description' : 'Property beginning_date must be definied',
- 'type' : 'PropertyExistence',
- 'beginning_date': None,
- },
{ 'id' : 'first_administrator_lastname_existence',
'description' : 'Property first_administrator_lastname must be definied',
'type' : 'PropertyExistence',
Modified: erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py?rev=22995&r1=22994&r2=22995&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py Thu Aug 14 14:06:38 2008
@@ -160,4 +160,12 @@
'inscription_check' : None,
'condition' : 'python: object.getRccmCheck() == None',
},
+ { 'id' : 'previous_activity_corporate_registration_code_existence',
+ 'description' : 'Property must be definied',
+ 'type' : 'PropertyExistence',
+ 'previous_activity_corporate_registration_code' : None,
+ 'condition' : 'python: object.getActivityRestartCheck() != None',
+ 'message_no_such_property': 'for a restart activity you must define the previous registration code',
+ 'message_property_not_set': 'for a restart activity you must define the previous registration code',
+ },
)
More information about the Erp5-report
mailing list