[Erp5-report] r25413 - in /erp5/trunk/bt5/erp5_registry_ohada: PropertySheetTemplateItem/ bt/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Feb 2 11:50:23 CET 2009


Author: mame
Date: Mon Feb  2 11:50:22 2009
New Revision: 25413

URL: http://svn.erp5.org?rev=25413&view=rev
Log:
2009-02-02 mame
* modify activity_restart_check constraint so that it's only taken into account when activity_restart_check is equal to 1.
*change also types of date, instead of string use type date

Modified:
    erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0.py
    erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py
    erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2.py
    erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2Constraint.py
    erp5/trunk/bt5/erp5_registry_ohada/bt/revision

Modified: erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0.py?rev=25413&r1=25412&r2=25413&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0.py [utf8] Mon Feb  2 11:50:22 2009
@@ -354,7 +354,7 @@
     },
     { 'id'         : 'previous_activity_yes_check'
     , 'description': 'OUI'
-    , 'type'       : 'string'
+    , 'type'       : 'boolean'
     , 'mode'       : 'w'
     },
     { 'id'         : 'previous_owner_address'

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=25413&r1=25412&r2=25413&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P0Constraint.py [utf8] Mon Feb  2 11:50:22 2009
@@ -164,7 +164,7 @@
       'description'   : 'Property must be definied',
       'type'          : 'PropertyExistence',
       'previous_activity_corporate_registration_code'     : None,
-      'condition'     : 'python: object.getActivityRestartCheck() != None',
+      'condition'     : 'python: object.getActivityRestartCheck() ==1',
       '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',
     },

Modified: erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2.py?rev=25413&r1=25412&r2=25413&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2.py [utf8] Mon Feb  2 11:50:22 2009
@@ -190,9 +190,9 @@
     , 'type'       : 'string'
     , 'mode'       : 'w'
     },
-    { 'id'         : 'first_modification_date'
+    { 'id'         : 'first_administrator_modification_date'
     , 'description': 'Date'
-    , 'type'       : 'string'
+    , 'type'       : 'date'
     , 'mode'       : 'w'
     },
     { 'id'         : 'first_administrator_citizenship'
@@ -452,7 +452,7 @@
     },
     { 'id'         : 'second_administrator_modification_date'
     , 'description': 'Date de modification'
-    , 'type'       : 'string'
+    , 'type'       : 'date'
     , 'mode'       : 'w'
     },
     { 'id'         : 'second_spouse_birthdate'

Modified: erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2Constraint.py
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2Constraint.py?rev=25413&r1=25412&r2=25413&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2Constraint.py [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/PropertySheetTemplateItem/P2Constraint.py [utf8] Mon Feb  2 11:50:22 2009
@@ -54,7 +54,7 @@
       'description'   : 'Property company modifcation must be definied',
       'type'          : 'PropertyExistence',
       'company_modifications'     : None,
-      'condition'     : 'python: object.getEstablishmentModification() == None',
+      'condition'     : 'python: object.getEstablishmentModification() == 0',
     },
     { 'id'            : 'establishment_modification_existence',
       'description'   : 'Property my establishment modification must be definied',

Modified: erp5/trunk/bt5/erp5_registry_ohada/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_registry_ohada/bt/revision?rev=25413&r1=25412&r2=25413&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_registry_ohada/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_registry_ohada/bt/revision [utf8] Mon Feb  2 11:50:22 2009
@@ -1,1 +1,1 @@
-920
+921




More information about the Erp5-report mailing list