frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
22.04k stars 7.39k forks source link

Issue with Gross profit for return invoices #34796

Closed maveezmh closed 1 day ago

maveezmh commented 1 year ago

Information about bug

When Sales invoice is created the GP is booked as following below

GP for Sales

and when we create a credit note against same invoice the credit note is not reducing/removing the GP from gross profit.

GP when credit

This is giving wrong GP for the given fate range.

Module

selling

Version

ERPNext: v14.20.0 (HEAD) Frappe Framework: v14.30.0 (HEAD) Frappe HR: v14.2.0 (HEAD) Payments: v0.0.1 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

maveezmh commented 1 year ago

any update??

maveezmh commented 1 year ago

@deepeshgarg007 Can you please check into this?

maveezmh commented 1 year ago

Hey There any update on above concern???

ljain112 commented 1 day ago

Fixed in :https://github.com/frappe/erpnext/pull/44323