Skip to content

Commit

Permalink
Merge pull request #39331 from FHenry/dev_fix_payment_terms_status_fo…
Browse files Browse the repository at this point in the history
…r_sales_order_report

fix: Payment Terms Status for Sales Order report show all payment terms from orders (not only when there is a payment terms template)
  • Loading branch information
ruthra-kumar authored Jan 24, 2024
2 parents 23199a3 + 735576a commit 4f1e729
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,6 @@ def get_so_with_invoices(filters):
.where(
(so.docstatus == 1)
& (so.status.isin(["To Deliver and Bill", "To Bill", "To Pay"]))
& (so.payment_terms_template != "NULL")
& (so.company == conditions.company)
& (so.transaction_date[conditions.start_date : conditions.end_date])
)
Expand Down

0 comments on commit 4f1e729

Please sign in to comment.