parameters: (self, product, quantity, partner, date=False, uom_id=False)
return_statement: return self._compute_price_rule([(product, quantity, partner)], date=date, uom_id=uom_id)[product.id]
docstring: For a given pricelist, return price and rule for a given product
docstring_summary: For a given pricelist, return price and rule for a given product
docstring_tokens: For a given pricelist return price and rule for a given product
function: def get_product_price_rule(self, product, quantity, partner, date=False, uom_id=False):
          """ For a given pricelist, return price and rule for a given product """
          self.ensure_one()
          return self._compute_price_rule([(product, quantity, partner)], date=date, uom_id=uom_id)[product.id]
function_tokens: def get_product_price_rule ( self , product , quantity , partner , date = False , uom_id = False ) : self . ensure_one ( ) return self . _compute_price_rule ( [ ( product , quantity , partner ) ] , date = date , uom_id = uom_id ) [ product . id ]