Merge pull request #25551 from rohitwaghchaure/fixed-total-stock-summary-report

fix: total stock summary report not working
This commit is contained in:
rohitwaghchaure 2021-05-07 23:30:06 +05:30 committed by GitHub
commit 42fe07bd19
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ def get_total_stock(filters):
INNER JOIN `tabWarehouse` warehouse
ON warehouse.name = ledger.warehouse
WHERE
actual_qty != 0 %s""" % (columns, conditions))
ledger.actual_qty != 0 %s""" % (columns, conditions))
def validate_filters(filters):
if filters.get("group_by") == 'Company' and \