Skip to content

Commit

Permalink
Update erpnext/controllers/accounts_controller.py
Browse files Browse the repository at this point in the history
Co-authored-by: Saqib <nextchamp.saqib@gmail.com>
  • Loading branch information
pruthvi145 and nextchamp-saqib authored Dec 20, 2021
1 parent 4d48ca4 commit 16a90d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -1733,7 +1733,7 @@ def update_invoice_status():
| invoice.status.like("Partly Paid%")
)
& (
(invoice.is_pos & invoice.due_date < today) | is_overdue
((invoice.is_pos & invoice.due_date < today) | is_overdue)
if doctype == "Sales Invoice"
else is_overdue
)
Expand Down

0 comments on commit 16a90d3

Please sign in to comment.