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', () => {
|
||||
return{
|
||||
return {
|
||||
filters: {
|
||||
name: ['not in', ['Accounting Dimension', 'Project', 'Cost Center']]
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
let button = frm.doc.disabled ? "Enable" : "Disable";
|
||||
|
Loading…
x
Reference in New Issue
Block a user