[Fix] Item wise sales register report (#13055)

This commit is contained in:
rohitwaghchaure 2018-02-23 16:25:30 +05:30 committed by Nabin Hait
parent d5b2e39f45
commit 4d76269eeb

View File

@ -105,7 +105,7 @@ def get_conditions(filters):
if filters.get("mode_of_payment"):
conditions += """ and exists(select name from `tabSales Invoice Payment`
where parent=si.name
where parent=`tabSales Invoice`.name
and ifnull(`tabSales Invoice Payment`.mode_of_payment, '') = %(mode_of_payment)s)"""
return conditions