From ce17a546b9492cc8b4c9fa86a3dde11ccf865abe Mon Sep 17 00:00:00 2001 From: Rohan Bansal Date: Mon, 27 Jan 2020 17:46:09 +0530 Subject: [PATCH] fix: only fetch driver address if not set --- erpnext/stock/doctype/delivery_trip/delivery_trip.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/stock/doctype/delivery_trip/delivery_trip.json b/erpnext/stock/doctype/delivery_trip/delivery_trip.json index 1bacf465fa..879901f6a8 100644 --- a/erpnext/stock/doctype/delivery_trip/delivery_trip.json +++ b/erpnext/stock/doctype/delivery_trip/delivery_trip.json @@ -165,6 +165,7 @@ }, { "fetch_from": "driver.address", + "fetch_if_empty": 1, "fieldname": "driver_address", "fieldtype": "Link", "label": "Driver Address", @@ -179,7 +180,7 @@ ], "is_submittable": 1, "links": [], - "modified": "2019-12-06 17:06:59.681952", + "modified": "2020-01-26 22:37:14.824021", "modified_by": "Administrator", "module": "Stock", "name": "Delivery Trip",