Merge pull request #20276 from rohitwaghchaure/fixed_report_stock_and_account_value_comparison

fix: filter issue for the stock and account value comparison report
This commit is contained in:
rohitwaghchaure 2020-01-14 12:18:39 +05:30 committed by GitHub
commit 7894caf397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)