fix: Codacy
This commit is contained in:
parent
84d1e12f34
commit
af6c09ae09
@ -11,11 +11,11 @@ frappe.ui.form.on('Accounting Dimension', {
|
|||||||
}
|
}
|
||||||
|
|
||||||
frm.set_query('document_type', () => {
|
frm.set_query('document_type', () => {
|
||||||
return{
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
name: ['not in', ['Accounting Dimension', 'Project', 'Cost Center']]
|
name: ['not in', ['Accounting Dimension', 'Project', 'Cost Center']]
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
let button = frm.doc.disabled ? "Enable" : "Disable";
|
let button = frm.doc.disabled ? "Enable" : "Disable";
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user