commit | 7a63fbef4fcb0f57e5ec38f7900c6905cfe3954b | [log] [tgz] |
---|---|---|
author | rohitwaghchaure <rohitw1991@gmail.com> | Tue Apr 25 12:01:26 2023 +0530 |
committer | GitHub <noreply@github.com> | Tue Apr 25 12:01:26 2023 +0530 |
tree | f663d2b1f7a9e8425b6afbb49924660347f2e474 | |
parent | d70f5eef10522d5c253f3d4998c7c3f93f61c25e [diff] |
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)