From 8e5ddda5b0de7f53b4324fc006b9b8a5e3c9b86b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 6 Jun 2008 15:56:46 +0000
Subject: [PATCH] add new source_annotation_line_reference property

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

diff --git a/product/ERP5/PropertySheet/PaySheetModelLine.py b/product/ERP5/PropertySheet/PaySheetModelLine.py
index f3353ffa8e..ffeaaeab48 100644
--- a/product/ERP5/PropertySheet/PaySheetModelLine.py
+++ b/product/ERP5/PropertySheet/PaySheetModelLine.py
@@ -30,18 +30,24 @@ from Products.CMFCore.Expression import Expression
 
 class PaySheetModelLine:
   """
-    Properties which allow to define a generic Price.
+    Properties for Pay Sheet Model Lines.
   """
-  _properties = ( 
+  _properties = (
     { 'id'          : 'editable',
-      'description' : 'If set to 1, the Pay Sheet Line values could be edited \
-          at the Pay Sheet calculation step',
+      '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',
+      'description' : 'If no script found on Pay Sheet Model Lines, this'
+                      ' script is used to do localised calculs',
+      'type'        : 'string',
+      'mode'        : 'w',
+    },
+    { 'id'          : 'source_annotation_line_reference',
+      'description' : 'The Payroll Service Provider will be the one defined in'
+                      ' the Annotation Line with this reference.',
       'type'        : 'string',
       'mode'        : 'w',
     },
-- 
2.30.9