[REF] product: get_price_history refactored and moved in product.template object