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

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

src/e/r/erp5-HEAD/product/ERP5/Tool/SimulationTool.py   erp5(Download)
    def getCurrentInventoryAssetPrice(self, **kw):
      """
      Returns list of current inventory grouped by section or site
      """
      kw['simulation_state'] = self.getPortalCurrentInventoryStateList()
    def updateAssetPrice(self, resource, variation_text, section_category, node_category,
                         strict_membership=0, simulation_state=None):
      if simulation_state is None:
        simulation_state = self.getPortalCurrentInventoryStateList()
      category_tool = getToolByName(self, 'portal_categories')

src/e/r/erp5-HEAD/product/ERP5/Tool/AcknowledgementTool.py   erp5(Download)
      # Now we can look directly at acknowledgement document not approved yet
      # so not in a final state
      final_state_list = self.getPortalCurrentInventoryStateList()
      query = NegatedQuery(Query(simulation_state=final_state_list))
      all_document_list.extend([x for x in \