From f7339ab2b4368174120b3e48c4d7c63b963417af Mon Sep 17 00:00:00 2001
From: Yoshinori Okuji <yo@nexedi.com>
Date: Mon, 28 Jun 2004 08:01:45 +0000
Subject: [PATCH] put the content of PaySheetTransaction

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1094 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/PropertySheet/PaySheet.py | 39 ++++----------------------
 1 file changed, 6 insertions(+), 33 deletions(-)

diff --git a/product/ERP5/PropertySheet/PaySheet.py b/product/ERP5/PropertySheet/PaySheet.py
index 4691028e28..254c3d15d4 100755
--- a/product/ERP5/PropertySheet/PaySheet.py
+++ b/product/ERP5/PropertySheet/PaySheet.py
@@ -28,46 +28,19 @@
 
 class PaySheet:
     """
-        Properties for BankAccount Objects
+        Properties for PaySheet Transaction objects
     """
 
     _properties = (
-        {   'id'          : 'month',
-            'description' : '',
-            'type'        : 'date',
-            'mode'        : 'w' },
-        {   'id'          : 'brut_salary',
-            'description' : '',
-            'type'        : 'float',
-            'mode'        : 'w' },
-        {   'id'          : 'net_salary',
-            'description' : '',
-            'type'        : 'float',
-            'mode'        : 'w' },
-        {   'id'          : 'csg',
+        {   'id'          : 'gross_salary',
             'description' : '',
             'type'        : 'float',
             'mode'        : 'w' },
-        {   'id'          : 'workingdays',
-            'description' : '',
-            'type'        : 'int',
-            'mode'        : 'w' },
-        {   'id'          : 'workinghours',
+        {   'id'          : 'work_duration',
             'description' : '',
-            'type'        : 'float',
+            'type'        : 'date',
             'mode'        : 'w' },
-        { 'id'          : 'person_title',
-          'description' : 'The person the pay sheet is destinated for',
-          'type'        : 'string',
-          'acquisition_base_category' : ('destination',),
-          'acquisition_portal_type'   : ('Person',),
-          'acquisition_copy_value'    : 0,
-          'acquisition_mask_value'    : 0,
-          'acquisition_sync_value'    : 0,
-          'acquisition_accessor_id'   : 'getTitle',
-          'acquisition_depends'       : None,
-          'mode'        : 'w' },
-
     )
 
-    _categories = ( 'destination', )
+    _categories = ( 'source', 'destination',
+                    'source_section', 'destination_section')
-- 
2.30.9