mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
fix: Codacy
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user