Merge pull request #31236 from frappe/mergify/bp/version-13-hotfix/pr-31231

fix(India): Supplies from composite dealer not showing up (backport #31231)
This commit is contained in:
Deepesh Garg
2022-06-06 12:24:20 +05:30
committed by GitHub

View File

@@ -149,7 +149,6 @@ class GSTR3BReport(Document):
FROM `tabPurchase Invoice` p , `tabPurchase Invoice Item` i
WHERE p.docstatus = 1 and p.name = i.parent
and p.is_opening = 'No'
and p.gst_category != 'Registered Composition'
and (i.is_nil_exempt = 1 or i.is_non_gst = 1 or p.gst_category = 'Registered Composition') and
month(p.posting_date) = %s and year(p.posting_date) = %s
and p.company = %s and p.company_gstin = %s