From 8619fc7413e2cc98d7e9b768f671e54f7fcc9625 Mon Sep 17 00:00:00 2001 From: Mangesh-Khairnar Date: Thu, 20 Jun 2019 12:02:47 +0530 Subject: [PATCH] fix: fetch rate only if field is empty --- .../expense_taxes_and_charges/expense_taxes_and_charges.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json b/erpnext/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json index be51c43920..9bf69daf65 100644 --- a/erpnext/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json +++ b/erpnext/hr/doctype/expense_taxes_and_charges/expense_taxes_and_charges.json @@ -54,6 +54,7 @@ { "columns": 2, "fetch_from": "account_head.tax_rate", + "fetch_if_empty": 1, "fieldname": "rate", "fieldtype": "Float", "in_list_view": 1, @@ -92,7 +93,7 @@ } ], "istable": 1, - "modified": "2019-06-19 17:47:40.236436", + "modified": "2019-06-20 12:01:33.919555", "modified_by": "Administrator", "module": "HR", "name": "Expense Taxes and Charges",