fix(India): Inward supplies from Composition Supplier in 3B report

This commit is contained in:
Deepesh Garg
2022-07-17 00:43:25 +05:30
parent 977d6969d5
commit b147ce4206

View File

@@ -144,7 +144,7 @@ class GSTR3BReport(Document):
def get_inward_nil_exempt(self, state):
inward_nil_exempt = frappe.db.sql(
"""
SELECT p.place_of_supply, p.supplier_address,
SELECT p.name, p.place_of_supply, p.supplier_address, p.gst_category,
i.base_amount, i.is_nil_exempt, i.is_non_gst
FROM `tabPurchase Invoice` p , `tabPurchase Invoice Item` i
WHERE p.docstatus = 1 and p.name = i.parent