commit | 04902e1b6021aaff738983eaa95a796782a1cc91 | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Tue Apr 25 12:08:48 2023 +0530 |
committer | GitHub <noreply@github.com> | Tue Apr 25 12:08:48 2023 +0530 |
tree | f663d2b1f7a9e8425b6afbb49924660347f2e474 | |
parent | d70f5eef10522d5c253f3d4998c7c3f93f61c25e [diff] | |
parent | 7a63fbef4fcb0f57e5ec38f7900c6905cfe3954b [diff] |
Merge pull request #35026 from frappe/revert-34929-fixed-stock-and-account-value-report Revert "fix: Incorrect difference value in Stock and Account Value Comparison…"
diff --git a/erpnext/stock/report/stock_and_account_value_comparison/stock_and_account_value_comparison.py b/erpnext/stock/report/stock_and_account_value_comparison/stock_and_account_value_comparison.py index 5fb4565..106e877 100644 --- a/erpnext/stock/report/stock_and_account_value_comparison/stock_and_account_value_comparison.py +++ b/erpnext/stock/report/stock_and_account_value_comparison/stock_and_account_value_comparison.py
@@ -41,7 +41,7 @@ key = (d.voucher_type, d.voucher_no) gl_data = voucher_wise_gl_data.get(key) or {} d.account_value = gl_data.get("account_value", 0) - d.difference_value = abs(d.stock_value) - abs(d.account_value) + d.difference_value = d.stock_value - d.account_value if abs(d.difference_value) > 0.1: data.append(d)