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

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

src/e/r/erp5-HEAD/product/ERP5/Document/Measure.py   erp5(Download)
    if quantity_unit is not None and metric_type and \
        quantity_unit.getParentId() == metric_type.split('/', 1)[0]:
      return self.getQuantityUnitDefinitionRatio(quantity_unit)
 
  security.declareProtected(AccessContentsInformation, 'getConvertedQuantity')