[Erp5-report] r33540 luke - /erp5/trunk/products/ERP5/AggregatedAmountList.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 9 16:30:03 CET 2010
Author: luke
Date: Tue Mar 9 16:29:59 2010
New Revision: 33540
URL: http://svn.erp5.org?rev=33540&view=rev
Log:
- fix a way how interface is being declared
Modified:
erp5/trunk/products/ERP5/AggregatedAmountList.py
Modified: erp5/trunk/products/ERP5/AggregatedAmountList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/AggregatedAmountList.py?rev=33540&r1=33539&r2=33540&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/AggregatedAmountList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/AggregatedAmountList.py [utf8] Tue Mar 9 16:29:59 2010
@@ -30,19 +30,17 @@
from UserList import UserList
import zope.interface
+from Products.ERP5Type import interfaces
from Products.ERP5Type.Globals import InitializeClass
from Products.PythonScripts.Utility import allow_class
from AccessControl import ClassSecurityInfo
-
-from Products.ERP5.interfaces.amount_list \
- import IAmountList
class AggregatedAmountList(UserList):
"""
Temporary object needed to aggregate Amount value
And to calculate some report or total value
"""
- zope.interface.implements(IAmountList)
+ zope.interface.implements(interfaces.IAmountList)
meta_type = "AggregatedAmountList"
security = ClassSecurityInfo()
More information about the Erp5-report
mailing list