[Erp5-report] r14188 - /erp5/trunk/products/ERP5/Document/LeavePeriod.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Apr 24 17:34:11 CEST 2007


Author: romain
Date: Tue Apr 24 17:34:10 2007
New Revision: 14188

URL: http://svn.erp5.org?rev=14188&view=rev
Log:
CalendarPeriod was renamed to PresencePeriod

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

Modified: erp5/trunk/products/ERP5/Document/LeavePeriod.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/LeavePeriod.py?rev=14188&r1=14187&r2=14188&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/LeavePeriod.py (original)
+++ erp5/trunk/products/ERP5/Document/LeavePeriod.py Tue Apr 24 17:34:10 2007
@@ -31,9 +31,9 @@
 from AccessControl import ClassSecurityInfo
 
 from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
-from Products.ERP5.Document.CalendarPeriod import CalendarPeriod
+from Products.ERP5.Document.PresencePeriod import PresencePeriod
 
-class LeavePeriod(CalendarPeriod):
+class LeavePeriod(PresencePeriod):
   """
   Leave Period is used to remove available time of the user in a 
   period of Time
@@ -66,7 +66,7 @@
     """
     Surcharged accessor to calculate the Quantity in second.
     """
-    quantity = CalendarPeriod.getInventoriatedQuantity(
+    quantity = PresencePeriod.getInventoriatedQuantity(
                                             self, default=default,
                                             *args, **kw)
     return -quantity




More information about the Erp5-report mailing list