When I do a sales return in ERPNext, the “Item Code” grouping and “Invoice” has a difference in gross profit reported.
This is due to the “Item Code” grouping has incorrectly identified the entire return as a Loss. And It reported an strange amount in gross loss!
The “invoice grouping” appears to be correct and it has deducted the returned quantity from the original invoice.
Did anyone notice this bug?