Steps to reproduce:
1- Create on order with products product 1 and product 2 having 10% discounts from a promotion programs
2- open point of sale and pay the order
3- try to get a refund on product 1
4- the refund will get the taxed price of product 1 pre discount, it doesnt take the discount into consideration
Did anyone encounter such a problem? How did you fix it? is there any module in the odoo apps that can fix this bug.
Thank you in advance.