Merge pull request #31231 from deepeshgarg007/gstr_3b_composite_supplies

fix(India): Supplies from composite dealer not showing up
This commit is contained in:
Deepesh Garg 2022-06-06 09:00:40 +05:30 committed by GitHub
commit 95a4602a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,7 +148,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