fix: Hide child doctypes from Open Documents
This commit is contained in:
parent
7c6cd34c51
commit
59bd093105
1 changed files with 8 additions and 1 deletions
|
|
@ -2,12 +2,19 @@
|
|||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Notification Settings', {
|
||||
onload: () => {
|
||||
onload: (frm) => {
|
||||
frappe.breadcrumbs.add({
|
||||
label: __('Settings'),
|
||||
route: '#modules/Settings',
|
||||
type: 'Custom'
|
||||
});
|
||||
frm.set_query('subscribed_documents', () => {
|
||||
return {
|
||||
filters: {
|
||||
istable: 0
|
||||
}
|
||||
};
|
||||
});
|
||||
},
|
||||
|
||||
refresh: (frm) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue