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

(cherry picked from commit c1ddf444c6)
This commit is contained in:
ljain112
2025-03-04 12:49:48 +05:30
committed by Mergify
parent 5b6ed1d077
commit eee500f20e

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"):