mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-06 23:10:26 +00:00
Merge pull request #20278 from rohitwaghchaure/fixed_report_stock_and_account_value_comparison_v12_pre_release
fix: filter issue for the stock and account value comparision report
This commit is contained in:
@@ -43,7 +43,7 @@ def get_data(report_filters):
|
|||||||
def get_stock_ledger_data(report_filters, filters):
|
def get_stock_ledger_data(report_filters, filters):
|
||||||
if report_filters.account:
|
if report_filters.account:
|
||||||
warehouses = get_warehouses_based_on_account(report_filters.account,
|
warehouses = get_warehouses_based_on_account(report_filters.account,
|
||||||
report_filters.warehouse)
|
report_filters.company)
|
||||||
|
|
||||||
filters["warehouse"] = ("in", warehouses)
|
filters["warehouse"] = ("in", warehouses)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user