fix: Codacy

This commit is contained in:
deepeshgarg007 2019-07-16 08:33:13 +05:30
parent 84d1e12f34
commit af6c09ae09

View File

@ -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";