fix: Export invoices not visible in GSTR-1 report

This commit is contained in:
Deepesh Garg 2021-06-22 13:03:22 +05:30
parent 5f5bbf622a
commit 2dc90dd8ac

View File

@ -201,7 +201,7 @@ class Gstr1Report(object):
elif self.filters.get("type_of_business") == "EXPORT":
conditions += """ AND is_return !=1 and gst_category = 'Overseas' """
conditions += " AND billing_address_gstin NOT IN %(company_gstins)s"
conditions += " AND IFNULL(billing_address_gstin, '') NOT IN %(company_gstins)s"
return conditions