Merge branch 'develop' into stock-balance-typo

This commit is contained in:
Sagar Sharma
2023-05-25 16:04:11 +05:30
committed by GitHub

View File

@@ -736,7 +736,7 @@ class GrossProfitGenerator(object):
def load_invoice_items(self):
conditions = ""
if self.filters.company:
conditions += " and company = %(company)s"
conditions += " and `tabSales Invoice`.company = %(company)s"
if self.filters.from_date:
conditions += " and posting_date >= %(from_date)s"
if self.filters.to_date: