mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-26 13:25:20 +00:00
fix: Remove Expense Claim from Bank Reconciliation
- add hooks `get_matching_queries` and `bank_reconciliation_doctypes` to extend the functionality in other apps
This commit is contained in:
@@ -28,8 +28,8 @@ frappe.ui.form.on("Authorization Rule", {
|
||||
}
|
||||
},
|
||||
transaction: function(frm) {
|
||||
unhide_field(['system_role', 'system_user','value', 'based_on']);
|
||||
hide_field(['to_emp','to_designation']);
|
||||
unhide_field(['system_role', 'system_user', 'value', 'based_on']);
|
||||
hide_field(['to_emp', 'to_designation']);
|
||||
}
|
||||
})
|
||||
|
||||
@@ -41,8 +41,8 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
||||
else
|
||||
unhide_field('value');
|
||||
|
||||
unhide_field(['system_role', 'system_user','value']);
|
||||
hide_field(['to_emp','to_designation']);
|
||||
unhide_field(['system_role', 'system_user', 'value']);
|
||||
hide_field(['to_emp', 'to_designation']);
|
||||
}
|
||||
|
||||
cur_frm.fields_dict.system_user.get_query = function(doc, cdt, cdn) {
|
||||
|
||||
Reference in New Issue
Block a user