fix: filter issue for the stock and account value comparision report

This commit is contained in:
Rohit Waghchaure 2020-01-14 12:12:54 +05:30
parent 7420fccbee
commit 9650c25429

View File

@ -43,7 +43,7 @@ def get_data(report_filters):
def get_stock_ledger_data(report_filters, filters):
if report_filters.account:
warehouses = get_warehouses_based_on_account(report_filters.account,
report_filters.warehouse)
report_filters.company)
filters["warehouse"] = ("in", warehouses)