[Erp5-report] r17742 - /erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Nov 22 11:03:42 CET 2007


Author: fabien
Date: Thu Nov 22 11:03:42 2007
New Revision: 17742

URL: http://svn.erp5.org?rev=17742&view=rev
Log:
add calculation_script_id property wich is used to set a script for each Model Line 

Modified:
    erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py

Modified: erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py?rev=17742&r1=17741&r2=17742&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py (original)
+++ erp5/trunk/products/ERP5/PropertySheet/PaySheetModelLine.py Thu Nov 22 11:03:42 2007
@@ -33,10 +33,18 @@
     Properties which allow to define a generic Price.
   """
   _properties = ( 
-          { 'id'          : 'editable',
-            'description' : 'If set to 1, self could be edited at the paySheet creation',
-            'type'        : 'boolean',
-            'mode'        : 'w' },
+    { 'id'          : 'editable',
+      'description' : 'If set to 1, the Pay Sheet Line values could be edited \
+          at the Pay Sheet calculation step',
+      'type'        : 'boolean',
+      'mode'        : 'w' 
+    },
+    { 'id'          : 'calculation_script_id',
+      'description' : 'If no script found on Pay Sheet Model Lines, this \
+          script is used to do localised calculs',
+      'type'        : 'string',
+      'mode'        : 'w',
+    },
   )
 
 




More information about the Erp5-report mailing list