chore(Document): remove code that resets self.latest (#19399)
This commit is contained in:
parent
6b0950e1d2
commit
1458429d98
1 changed files with 0 additions and 2 deletions
|
|
@ -1113,8 +1113,6 @@ class Document(BaseDocument):
|
|||
if (self.doctype, self.name) in frappe.flags.currently_saving:
|
||||
frappe.flags.currently_saving.remove((self.doctype, self.name))
|
||||
|
||||
self.latest = None
|
||||
|
||||
def clear_cache(self):
|
||||
frappe.clear_document_cache(self.doctype, self.name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue