[Erp5-report] r26677 - /erp5/trunk/products/ERP5/Document/PaySheetLine.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Apr 28 15:26:56 CEST 2009
Author: fabien
Date: Tue Apr 28 15:26:53 2009
New Revision: 26677
URL: http://svn.erp5.org?rev=26677&view=rev
Log:
Interfaces sould be defined in a new way now. Thanks to Lukas
Modified:
erp5/trunk/products/ERP5/Document/PaySheetLine.py
Modified: erp5/trunk/products/ERP5/Document/PaySheetLine.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/PaySheetLine.py?rev=26677&r1=26676&r2=26677&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/PaySheetLine.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/PaySheetLine.py [utf8] Tue Apr 28 15:26:53 2009
@@ -31,6 +31,8 @@
from Products.ERP5.Document.InvoiceLine import InvoiceLine
from zLOG import LOG
+import zope.interface
+
class PaySheetLine(InvoiceLine):
"""
A PaySheetLine object allows to implement lines in
@@ -50,7 +52,7 @@
security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative interfaces
- __implements__ = ( Interface.Variated, )
+ zope.interface.implements(Interface.Variated, )
# Declarative properties
property_sheets = ( PropertySheet.Base
More information about the Erp5-report
mailing list