fix: Payment Terms Status for Sales Order report should show all payment terms from order not only this comming from template

This commit is contained in:
Florian HENRY 2024-01-11 16:00:48 +01:00
parent 0c47396785
commit 6c8f52b26f

View File

@ -210,7 +210,6 @@ def get_so_with_invoices(filters):
.where(
(so.docstatus == 1)
& (so.status.isin(["To Deliver and Bill", "To Bill"]))
& (so.payment_terms_template != "NULL")
& (so.company == conditions.company)
& (so.transaction_date[conditions.start_date : conditions.end_date])
)