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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/e/r/erp5-HEAD/product/ERP5Configurator/Tool/ConfiguratorTool.py   erp5(Download)
      ## return if failure
      if failed_forms_counter > 0:
        next_state = self.restrictedTraverse(business_configuration.getNextTransition()\
            .getDestination())
        html_data = self.Base_mainConfiguratorTemplate(
    else:
      ## we have more forms
      next_state = self.restrictedTraverse(business_configuration.getNextTransition()\
          .getDestination())
      html_data = self.Base_mainConfiguratorTemplate(
 
    next_state = self.restrictedTraverse(
        business_configuration.getNextTransition().getDestination())
 
    response['data'] = self.Base_mainConfiguratorTemplate(

src/e/r/erp5-HEAD/product/ERP5Form/PreferenceTool.py   erp5(Download)
    for portal_type in allowed_content_types:
      for template_url in _getDocumentTemplateList(user_id, portal_type=portal_type):
        template = self.restrictedTraverse(template_url, None)
        if template is not None:
          template_list.append(template)

src/e/r/erp5-HEAD/product/ERP5/Tool/AcknowledgementTool.py   erp5(Download)
      document = self.portal_catalog.getObject(uid)
    elif path is not None:
      document = self.restrictedTraverse(path)
    else:
      raise ValueError("No path or uid given")