fix: do not include opening invoices in billed items to be received report

This commit is contained in:
ljain112
2025-03-04 12:49:48 +05:30
parent 4bf84f5c84
commit c1ddf444c6

View File

@@ -27,6 +27,7 @@ def get_report_filters(report_filters):
["Purchase Invoice", "docstatus", "=", 1],
["Purchase Invoice", "per_received", "<", 100],
["Purchase Invoice", "update_stock", "=", 0],
["Purchase Invoice", "is_opening", "!=", "Yes"],
]
if report_filters.get("purchase_invoice"):