From a6acc9d63499088a39a7b0b7568da0bf79b6a2e7 Mon Sep 17 00:00:00 2001
From: Fabien Morin <fabien@nexedi.com>
Date: Thu, 22 Nov 2007 10:03:42 +0000
Subject: [PATCH] add calculation_script_id property wich is used to set a
 script for each Model Line

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17742 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/PaySheetModelLine.py | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/product/ERP5/PropertySheet/PaySheetModelLine.py b/product/ERP5/PropertySheet/PaySheetModelLine.py
index 0c1f9567a1..f3353ffa8e 100644
--- a/product/ERP5/PropertySheet/PaySheetModelLine.py
+++ b/product/ERP5/PropertySheet/PaySheetModelLine.py
@@ -33,10 +33,18 @@ class PaySheetModelLine:
     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',
+    },
   )
 
 
-- 
2.30.9