Guys what does [product.id] will do in this type of code?\
"they are Unrelated to each other"
return self._compute_price_rule([(product, quantity, partner)], date=date, uom_id=uom_id)[product.id]price = product.price_compute(rule.base)[product.id]price = product.price_compute('list_price')[product.id]price_tmp = rule.base_pricelist_id._compute_price_rule([(product, qty, partner)], date, uom_id)[product.id][0]