Bug - Refund of discounted invoice does not consider the discount

Description

Talk Thread - https://talk.openmrs.org/t/odoo-bug-refund-of-discounted-invoice-does-not-consider-the-discount/24840

If the refund of any discounted (Fixed Discount applied under Discount Type) sales order is generated, it does not consider the discount instead makes an invoice of the actual amount.
Create Quotation > Apply Fixed Discount > Confirm Sale > Create Invoice > Validate > Register Payment. Now refund the same invoice. The invoice generated does not consider the discount provided to the customer instead shows the actual amount (pre-discounted amount)

Status

Assignee

Sushant Patil

Reporter

Gurkiran

Labels

None

Units

None

PercentDone

None

DueTime

None

Clients

None

External issue ID

None

UAT Assignee

None

Reviewer

None

Fix versions

Configure