fix: Opening invoices in GSTR-1 report

This commit is contained in:
Deepesh Garg 2020-11-27 21:55:02 +05:30
parent a31731e73d
commit c838682188

View File

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