I need to change the color of the text shown on the website for the discounted price.
There are 2 values to select for pricelists; with_discount and without_discount. I have a feeling that the styling is set with wherever those are defined.
I am looking for direction as to where the color is defined.
This is quite unspecific. Did you check the DOM to see what classes are applied on discounted prices?
I cannot find the DOM for the discounted price. I see the retail, but not the discount.
You should add some more description of what you want to achieve, screens could be helpful as well - not sure what with_discount and without_discount means.
Those are the names of the models that are selected in the pricelist configuration. One shows the crossed out retail price as well as the discounted price while the other just shows the discounted price.
What I am trying to do is have the discounted price a color other than black.
There's no way to do this by applying just a style via CSS. You would need to modify the template (or, but that's not advisable for this requirement, apply JavaScript) in order to make the HTML node aware about (=> apply a CSS class based on whether it is discounted) that it should look differently in this scenario. This is because the current structure of the product page renders a 'normal price' (=> un-discounted and no discount is to be applied) the same way as a discounted price. All Odoo does is to show/hide the un-discounted price (when a discount is applied) in addition. So, CSS only would always end you up in changing the font in both cases: discounted price and un-discounted price (if no discount is applied).
@ Piyush H
I wish it were that easy. Below is the code that calls the pricing from the product template when the pricelist is configured to show the crossed out retail price. There is no code (that I can find) that shows the discount price when the pricelist is configured to show the discount price only