Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(3)  |  Derive(0)  |  Import(1)

src/e/r/erp5-HEAD/product/ERP5Form/PlanningBox.py   erp5(Download)
from Products.ERP5Type.Globals import InitializeClass
 
from Products.ERP5Form.ListBox import lazyMethod
from Products.Formulator.Field import ZMIField
from Products.Formulator.DummyField import fields
    return self.context.getPortalObject()
 
  getPortalObject = lazyMethod(getPortalObject)
 
  def getSelectionTool(self):
    """Return the Selection Tool.
    """
    return self.getPortalObject().portal_selections
 
  getSelectionTool = lazyMethod(getSelectionTool)
    return portal_types or None
 
  getPortalTypeList = lazyMethod(getPortalTypeList)
 
  def getReportGroupList(self, report_tree_list=[], \