Merge branch 'develop' into kanban-access-w-perms

This commit is contained in:
Shariq Ansari 2022-12-26 12:27:59 +05:30 committed by GitHub
commit 70fac30e77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 3 deletions

View file

@ -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)

View file

@ -90,7 +90,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
return in_list(frappe.boot?.translated_doctypes || [], this.get_options());
}
is_title_link() {
return in_list(frappe.boot.link_title_doctypes, this.get_options());
return in_list(frappe.boot?.link_title_doctypes || [], this.get_options());
}
async set_link_title(value) {
const doctype = this.get_options();