mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-20 21:49:18 +00:00
Update erpnext/controllers/accounts_controller.py
Co-authored-by: Saqib <nextchamp.saqib@gmail.com>
(cherry picked from commit 16a90d3e60)
This commit is contained in:
committed by
mergify-bot
parent
50628d416c
commit
84f3f34821
@@ -1741,7 +1741,7 @@ def update_invoice_status():
|
|||||||
| invoice.status.like("Partly Paid%")
|
| 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"
|
if doctype == "Sales Invoice"
|
||||||
else is_overdue
|
else is_overdue
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user