fix: Opening invoices in GSTR-1 report
This commit is contained in:
parent
a31731e73d
commit
c838682188
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user