Commit d566d671 authored by Fabien Morin's avatar Fabien Morin

Interfaces sould be defined in a new way now. Thanks to Lukas


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26677 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8221492f
...@@ -31,6 +31,8 @@ from Products.ERP5Type import Permissions, PropertySheet, Interface ...@@ -31,6 +31,8 @@ from Products.ERP5Type import Permissions, PropertySheet, Interface
from Products.ERP5.Document.InvoiceLine import InvoiceLine from Products.ERP5.Document.InvoiceLine import InvoiceLine
from zLOG import LOG from zLOG import LOG
import zope.interface
class PaySheetLine(InvoiceLine): class PaySheetLine(InvoiceLine):
""" """
A PaySheetLine object allows to implement lines in A PaySheetLine object allows to implement lines in
...@@ -50,7 +52,7 @@ class PaySheetLine(InvoiceLine): ...@@ -50,7 +52,7 @@ class PaySheetLine(InvoiceLine):
security.declareObjectProtected(Permissions.AccessContentsInformation) security.declareObjectProtected(Permissions.AccessContentsInformation)
# Declarative interfaces # Declarative interfaces
__implements__ = ( Interface.Variated, ) zope.interface.implements(Interface.Variated, )
# Declarative properties # Declarative properties
property_sheets = ( PropertySheet.Base property_sheets = ( PropertySheet.Base
......
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