Merge pull request #26143 from deepeshgarg007/gstr_1_export_invoices_error

fix: Export invoices not visible in GSTR-1 report
This commit is contained in:
Deepesh Garg 2021-06-24 12:15:29 +05:30 committed by GitHub
commit 437e972108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,7 +201,7 @@ class Gstr1Report(object):
elif self.filters.get("type_of_business") == "EXPORT": elif self.filters.get("type_of_business") == "EXPORT":
conditions += """ AND is_return !=1 and gst_category = 'Overseas' """ 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 return conditions