fix(India): Supplies from composite dealer not showing up

(cherry picked from commit db07831db7)
This commit is contained in:
Deepesh Garg
2022-06-05 12:13:02 +05:30
committed by Mergify
parent b31709c793
commit 15712c742b

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