Commit ccda9213 authored by Sebastien Robin's avatar Sebastien Robin

fix interface of Transformation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27518 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0d726da6
...@@ -41,6 +41,7 @@ from Products.ERP5.Document.Predicate import Predicate ...@@ -41,6 +41,7 @@ from Products.ERP5.Document.Predicate import Predicate
from Products.CMFCategory.Renderer import Renderer from Products.CMFCategory.Renderer import Renderer
from Products.ERP5.AggregatedAmountList import AggregatedAmountList from Products.ERP5.AggregatedAmountList import AggregatedAmountList
import zope.interface
from zLOG import LOG, WARNING from zLOG import LOG, WARNING
...@@ -80,11 +81,12 @@ class Transformation(XMLObject, Predicate, Variated): ...@@ -80,11 +81,12 @@ class Transformation(XMLObject, Predicate, Variated):
) )
# Declarative interfaces # Declarative interfaces
__implements__ = ( interfaces.IVariated zope.interface.implements(interfaces.IVariated,
, interfaces.ITransformation interfaces.ITransformation
) )
security.declareProtected(Permissions.AccessContentsInformation, security.declareProtected(Permissions.AccessContentsInformation,
'updateVariationCategoryList') 'updateVariationCategoryList')
def updateVariationCategoryList(self): def updateVariationCategoryList(self):
......
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