Merge pull request #24117 from deepeshgarg007/gstr_opening_invoices

fix: Opening invoices in GSTR-1 report
This commit is contained in:
Deepesh Garg 2020-12-14 11:14:23 +05:30 committed by GitHub
commit 05e8479521
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,6 +151,7 @@ class Gstr1Report(object):
{select_columns}
from `tab{doctype}`
where docstatus = 1 {where_conditions}
and is_opening = 'No'
order by posting_date desc
""".format(select_columns=self.select_columns, doctype=self.doctype,
where_conditions=conditions), self.filters, as_dict=1)