Commit 5ad89027 authored by Jérome Perrin's avatar Jérome Perrin

add tpValues for easier debugging with left pane of the ZMI


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3671 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5ce9994c
...@@ -69,6 +69,10 @@ class AppliedRule(XMLObject): ...@@ -69,6 +69,10 @@ class AppliedRule(XMLObject):
, PropertySheet.AppliedRule , PropertySheet.AppliedRule
) )
def tpValues(self) :
""" show the content in the left pane of the ZMI """
return self.objectValues()
security.declareProtected(Permissions.AccessContentsInformation, 'getCausalityState') security.declareProtected(Permissions.AccessContentsInformation, 'getCausalityState')
def getCausalityState(self, id_only=1): def getCausalityState(self, id_only=1):
""" """
......
...@@ -114,6 +114,10 @@ class SimulationMovement(Movement): ...@@ -114,6 +114,10 @@ class SimulationMovement(Movement):
, PropertySheet.AppliedRule , PropertySheet.AppliedRule
) )
def tpValues(self) :
""" show the content in the left pane of the ZMI """
return self.objectValues()
# Price should be acquired # Price should be acquired
security.declareProtected(Permissions.AccessContentsInformation, 'getPrice') security.declareProtected(Permissions.AccessContentsInformation, 'getPrice')
def getPrice(self, context=None, REQUEST=None, **kw): def getPrice(self, context=None, REQUEST=None, **kw):
......
...@@ -100,6 +100,10 @@ class SimulationTool (BaseTool): ...@@ -100,6 +100,10 @@ class SimulationTool (BaseTool):
meta_types.append(meta_type) meta_types.append(meta_type)
return meta_types return meta_types
def tpValues(self) :
""" show the content in the left pane of the ZMI """
return self.objectValues()
def solveDelivery(self, delivery, dsolver_name, tsolver_name, **kw): def solveDelivery(self, delivery, dsolver_name, tsolver_name, **kw):
""" """
Solve a delivery by calling DeliverySolver and TargetSolver Solve a delivery by calling DeliverySolver and TargetSolver
......
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