frappe / erpnext

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

Gross Profit report for bundled item is not getting calculated properly. #42329

Open maveezmh opened 3 months ago

maveezmh commented 3 months ago

Information about bug

i created 3 scenarios whre i invoice the customer. and have highlighted in below image.

the gross profit is getting calculated properly for a product bundle only when we follow the process Sales order > delivery Note > Sales Invoice. in all other scenarios the system is showing 100% profit.

Screenshot 2024-07-15 at 10-20-15 Gross Profit

Module

accounts, stock, selling

Version

Frappe Builder: v1.10.1 (HEAD) ERPNext: v15.29.3 (HEAD) Frappe Framework: v15.34.1 (HEAD) Frappe HR: v15.23.1 (HEAD) Frappe Insights: v2.2.2 (HEAD) Print Designer: v1.4.0 (HEAD)

Installation method

FrappeCloud

Relevant log output / Stack trace / Full Error Message.

No response

MhmedRjb commented 2 months ago

"Please check the Repost Item Valuation list, as it is likely that some transactions have not been reposted yet. This is probably why the valuation rate is zero in the first two scenarios.

maveezmh commented 2 months ago

@MhmedRjb its process issue. not related to reposting