Commit e547d442 authored by Jérome Perrin's avatar Jérome Perrin

Add Delivery class in the hierarchy, to make Movement.getExplanation on Pay Sheet Model Lines


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20343 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e6b458a1
...@@ -31,17 +31,18 @@ from AccessControl import ClassSecurityInfo ...@@ -31,17 +31,18 @@ from AccessControl import ClassSecurityInfo
from Products.ERP5Type import Permissions, PropertySheet from Products.ERP5Type import Permissions, PropertySheet
from Products.ERP5.Document.TradeCondition import TradeCondition from Products.ERP5.Document.TradeCondition import TradeCondition
from Products.ERP5Type.XMLMatrix import XMLMatrix from Products.ERP5Type.XMLMatrix import XMLMatrix
from Products.ERP5.Document.Delivery import Delivery
from zLOG import LOG from zLOG import LOG
#XXX TODO: review naming of new methods #XXX TODO: review naming of new methods
#XXX WARNING: current API naming may change although model should be stable. #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 PaySheetModel are used to define calculating rules specific to a
date, a convention, a enmployees group... date, a convention, a group of employees ...
This permit to applied a whole of calculating rules on a whole of The class inherit from Delivery, because it contains movements.
pay sheets
""" """
meta_type = 'ERP5 Pay Sheet Model' meta_type = 'ERP5 Pay Sheet Model'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment