[Erp5-report] r20343 - /erp5/trunk/products/ERP5/Document/PaySheetModel.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 8 12:43:33 CEST 2008


Author: jerome
Date: Tue Apr  8 12:43:33 2008
New Revision: 20343

URL: http://svn.erp5.org?rev=20343&view=rev
Log:
Add Delivery class in the hierarchy, to make Movement.getExplanation on Pay Sheet Model Lines

Modified:
    erp5/trunk/products/ERP5/Document/PaySheetModel.py

Modified: erp5/trunk/products/ERP5/Document/PaySheetModel.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaySheetModel.py?rev=20343&r1=20342&r2=20343&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetModel.py (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetModel.py Tue Apr  8 12:43:33 2008
@@ -31,17 +31,18 @@
 from Products.ERP5Type import Permissions, PropertySheet
 from Products.ERP5.Document.TradeCondition import TradeCondition
 from Products.ERP5Type.XMLMatrix import XMLMatrix
+from Products.ERP5.Document.Delivery import Delivery
 from zLOG import LOG
 
 #XXX TODO: review naming of new methods
 #XXX WARNING: current API naming may change although model should be stable.
 
-class PaySheetModel(TradeCondition, XMLMatrix):
-  """
+class PaySheetModel(TradeCondition, XMLMatrix, Delivery):
+  """A PaySheetModel defines calculation rules for paysheets.
+
     PaySheetModel are used to define calculating rules specific to a 
-    date, a convention, a enmployees group...
-    This permit to applied a whole of calculating rules on a whole of
-    pay sheets
+    date, a convention, a group of employees ...
+    The class inherit from Delivery, because it contains movements.
   """
 
   meta_type = 'ERP5 Pay Sheet Model'




More information about the Erp5-report mailing list