def METHOD_NAME(self, product, print_product_uom):
    sale_uom = self.env['product.template'].fields_get(
        ['sale_uom_ids'])
    # we force to not print default code because it's already shown in the reports.
    product = product.with_context(display_default_code=False)
    if not print_product_uom:
        return product.display_name
    if sale_uom and product.sale_uom_ids:
        main_uom = product.sale_uom_ids[0].uom_id
    else:
        main_uom = product.uom_id
    description = _('%s (%s)' % (product.
                                 display_name, main_uom.display_name))
    if sale_uom and len(product.sale_uom_ids) > 1:
        description = _('%s. Also available in %s') % (
            description, ', '.join(
                product.sale_uom_ids.filtered(
                    lambda x: x.uom_id != main_uom).
                mapped('uom_id.display_name')))
    return description