From c4c966691f116bb57fcf167f75e4d1633a5dfb0e Mon Sep 17 00:00:00 2001 From: Kanchan Chauhan Date: Sat, 22 Oct 2016 18:04:48 +0530 Subject: [PATCH] [Fix] Make Bank Entry button depends_on fixed --- erpnext/hr/doctype/process_payroll/process_payroll.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/erpnext/hr/doctype/process_payroll/process_payroll.json b/erpnext/hr/doctype/process_payroll/process_payroll.json index 13d3191181..546da97edc 100644 --- a/erpnext/hr/doctype/process_payroll/process_payroll.json +++ b/erpnext/hr/doctype/process_payroll/process_payroll.json @@ -609,7 +609,7 @@ "bold": 0, "collapsible": 0, "columns": 0, - "depends_on": "payment_account", + "depends_on": "eval:doc.payment_account", "description": "Create Bank Entry for the total salary paid for the above selected criteria", "fieldname": "make_bank_entry", "fieldtype": "Button", @@ -692,7 +692,7 @@ "issingle": 1, "istable": 0, "max_attachments": 0, - "modified": "2016-09-28 05:43:26.472928", + "modified": "2016-10-22 08:10:44.293748", "modified_by": "Administrator", "module": "HR", "name": "Process Payroll", @@ -708,6 +708,7 @@ "export": 0, "if_owner": 0, "import": 0, + "is_custom": 0, "permlevel": 0, "print": 0, "read": 1,