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