diff --git a/frappe/model/base_document.py b/frappe/model/base_document.py index 071c1f8532..5ccfbf0cce 100644 --- a/frappe/model/base_document.py +++ b/frappe/model/base_document.py @@ -926,9 +926,7 @@ class BaseDocument: df.fieldname != "amended_from" and (is_submittable or self.meta.is_submittable) and frappe.get_meta(doctype).is_submittable - and DocStatus( - frappe.db.get_value(doctype, docname, "docstatus", cache=True) or 0 - ).is_cancelled() + and DocStatus(frappe.db.get_value(doctype, docname, "docstatus") or 0).is_cancelled() ): cancelled_links.append((df.fieldname, docname, get_msg(df, docname)))