Commit a11e5ba8 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

allow_class TransformationRuleError.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@20297 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0c68035
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Acquisition import aq_base, aq_parent, aq_inner, aq_acquire from Acquisition import aq_base, aq_parent, aq_inner, aq_acquire
from Products.CMFCore.utils import getToolByName from Products.CMFCore.utils import getToolByName
from Products.PythonScripts.Utility import allow_class
from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface from Products.ERP5Type import Permissions, PropertySheet, Constraint, Interface
from Products.ERP5.Document.Rule import Rule from Products.ERP5.Document.Rule import Rule
...@@ -39,6 +40,7 @@ from Products.ERP5.Document.TransformationSourcingRule import\ ...@@ -39,6 +40,7 @@ from Products.ERP5.Document.TransformationSourcingRule import\
from zLOG import LOG from zLOG import LOG
class TransformationRuleError(Exception): pass class TransformationRuleError(Exception): pass
allow_class(TransformationRuleError)
class TransformationRule(TransformationSourcingRuleMixin, Rule): class TransformationRule(TransformationSourcingRuleMixin, Rule):
""" """
......
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