Commit 1eff5f43 authored by wenjie.zheng's avatar wenjie.zheng Committed by Sebastien Robin

Interaction.py: add property Reference and varable default _reference.

parent a7bbfacb
......@@ -40,7 +40,7 @@ from zLOG import LOG, INFO, ERROR, WARNING
from Products.DCWorkflow.Expression import StateChangeInfo
from Products.ERP5Type.id_as_reference import IdAsReferenceMixin
class Interaction(IdAsReferenceMixin('interaction_'), XMLObject):
class Interaction(IdAsReferenceMixin('_interaction'), XMLObject):
"""
An ERP5 Interaction.
"""
......@@ -68,7 +68,7 @@ class Interaction(IdAsReferenceMixin('interaction_'), XMLObject):
temporary_document_disallowed = False
var_exprs = None # A mapping.
guard = None
default_reference = ''
# Declarative security
security = ClassSecurityInfo()
......@@ -80,6 +80,7 @@ class Interaction(IdAsReferenceMixin('interaction_'), XMLObject):
PropertySheet.XMLObject,
PropertySheet.CategoryCore,
PropertySheet.DublinCore,
PropertySheet.Reference,
PropertySheet.Interaction,
)
......
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