set field dependent on link field fix (#11580)
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
index 3d70b3b..51a099e 100755
--- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
+++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.json
@@ -128,6 +128,7 @@
"no_copy": 0,
"oldfieldname": "supplier_name",
"oldfieldtype": "Data",
+ "options": "supplier.supplier_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -3575,7 +3576,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-10-24 12:51:51.199594",
+ "modified": "2017-11-15 01:04:15.308603",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Purchase Invoice",
diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
index f2625cc..0a5f64f 100644
--- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
+++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.json
@@ -160,6 +160,7 @@
"no_copy": 0,
"oldfieldname": "customer_name",
"oldfieldtype": "Data",
+ "options": "customer.customer_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -4433,7 +4434,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-11-03 05:31:56.636424",
+ "modified": "2017-11-15 01:02:36.885752",
"modified_by": "Administrator",
"module": "Accounts",
"name": "Sales Invoice",
diff --git a/erpnext/buying/doctype/purchase_order/purchase_order.json b/erpnext/buying/doctype/purchase_order/purchase_order.json
index 534af8b..e18f96f 100644
--- a/erpnext/buying/doctype/purchase_order/purchase_order.json
+++ b/erpnext/buying/doctype/purchase_order/purchase_order.json
@@ -218,6 +218,7 @@
"label": "Supplier Name",
"length": 0,
"no_copy": 0,
+ "options": "supplier.supplier_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -291,40 +292,40 @@
"search_index": 1,
"set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
- "allow_on_submit": 1,
- "bold": 0,
- "collapsible": 0,
- "columns": 0,
- "default": "",
- "fieldname": "schedule_date",
- "fieldtype": "Date",
- "hidden": 0,
- "ignore_user_permissions": 0,
- "ignore_xss_filter": 0,
- "in_filter": 0,
- "in_global_search": 0,
- "in_list_view": 0,
- "in_standard_filter": 0,
- "label": "Reqd By Date",
- "length": 0,
- "no_copy": 0,
- "permlevel": 0,
- "precision": "",
- "print_hide": 0,
- "print_hide_if_no_value": 0,
- "read_only": 0,
- "remember_last_selected_value": 0,
- "report_hide": 0,
- "reqd": 0,
- "search_index": 0,
- "set_only_once": 0,
+ "allow_bulk_edit": 0,
+ "allow_on_submit": 1,
+ "bold": 0,
+ "collapsible": 0,
+ "columns": 0,
+ "default": "",
+ "fieldname": "schedule_date",
+ "fieldtype": "Date",
+ "hidden": 0,
+ "ignore_user_permissions": 0,
+ "ignore_xss_filter": 0,
+ "in_filter": 0,
+ "in_global_search": 0,
+ "in_list_view": 0,
+ "in_standard_filter": 0,
+ "label": "Reqd By Date",
+ "length": 0,
+ "no_copy": 0,
+ "permlevel": 0,
+ "precision": "",
+ "print_hide": 0,
+ "print_hide_if_no_value": 0,
+ "read_only": 0,
+ "remember_last_selected_value": 0,
+ "report_hide": 0,
+ "reqd": 0,
+ "search_index": 0,
+ "set_only_once": 0,
"unique": 0
- },
+ },
{
- "allow_bulk_edit": 0,
+ "allow_bulk_edit": 0,
"allow_on_submit": 0,
"bold": 0,
"collapsible": 0,
@@ -3082,7 +3083,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2017-10-24 12:52:11.272306",
+ "modified": "2017-11-15 01:03:44.591992",
"modified_by": "Administrator",
"module": "Buying",
"name": "Purchase Order",
diff --git a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json
index d7edc01..67bf6bd 100644
--- a/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json
+++ b/erpnext/buying/doctype/supplier_quotation/supplier_quotation.json
@@ -156,6 +156,7 @@
"label": "Name",
"length": 0,
"no_copy": 0,
+ "options": "supplier.supplier_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -2370,7 +2371,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-09-19 11:23:25.268924",
+ "modified": "2017-11-15 01:01:44.094596",
"modified_by": "Administrator",
"module": "Buying",
"name": "Supplier Quotation",
diff --git a/erpnext/hr/doctype/expense_claim/expense_claim.json b/erpnext/hr/doctype/expense_claim/expense_claim.json
index 5708c04..ec52e71 100644
--- a/erpnext/hr/doctype/expense_claim/expense_claim.json
+++ b/erpnext/hr/doctype/expense_claim/expense_claim.json
@@ -413,6 +413,7 @@
"no_copy": 0,
"oldfieldname": "employee_name",
"oldfieldtype": "Data",
+ "options": "employee.employee_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -964,7 +965,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-07-17 15:47:23.255142",
+ "modified": "2017-11-15 01:05:24.323540",
"modified_by": "Administrator",
"module": "HR",
"name": "Expense Claim",
diff --git a/erpnext/selling/doctype/quotation/quotation.json b/erpnext/selling/doctype/quotation/quotation.json
index fe41426..6d8a3fe 100644
--- a/erpnext/selling/doctype/quotation/quotation.json
+++ b/erpnext/selling/doctype/quotation/quotation.json
@@ -222,6 +222,7 @@
"label": "Customer Name",
"length": 0,
"no_copy": 0,
+ "options": "customer.customer_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -2756,7 +2757,7 @@
"istable": 0,
"max_attachments": 1,
"menu_index": 0,
- "modified": "2017-09-19 11:22:15.268846",
+ "modified": "2017-11-15 01:01:16.774645",
"modified_by": "Administrator",
"module": "Selling",
"name": "Quotation",
diff --git a/erpnext/selling/doctype/sales_order/sales_order.json b/erpnext/selling/doctype/sales_order/sales_order.json
index 3ea34b1..86d042b 100644
--- a/erpnext/selling/doctype/sales_order/sales_order.json
+++ b/erpnext/selling/doctype/sales_order/sales_order.json
@@ -186,6 +186,7 @@
"label": "Customer Name",
"length": 0,
"no_copy": 0,
+ "options": "customer.customer_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -3406,7 +3407,7 @@
"issingle": 0,
"istable": 0,
"max_attachments": 0,
- "modified": "2017-11-03 05:31:56.636424",
+ "modified": "2017-11-15 01:02:08.674118",
"modified_by": "Administrator",
"module": "Selling",
"name": "Sales Order",
diff --git a/erpnext/stock/doctype/delivery_note/delivery_note.json b/erpnext/stock/doctype/delivery_note/delivery_note.json
index 239891c..3f94b9a 100644
--- a/erpnext/stock/doctype/delivery_note/delivery_note.json
+++ b/erpnext/stock/doctype/delivery_note/delivery_note.json
@@ -187,6 +187,7 @@
"label": "Customer Name",
"length": 0,
"no_copy": 0,
+ "options": "customer.customer_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -3610,7 +3611,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-11-03 05:31:56.636424",
+ "modified": "2017-11-15 01:03:14.856512",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note",
diff --git a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
index 113bbc2..21364e7 100755
--- a/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
+++ b/erpnext/stock/doctype/purchase_receipt/purchase_receipt.json
@@ -190,6 +190,7 @@
"label": "Supplier Name",
"length": 0,
"no_copy": 0,
+ "options": "supplier.supplier_name",
"permlevel": 0,
"print_hide": 0,
"print_hide_if_no_value": 0,
@@ -3122,7 +3123,7 @@
"istable": 0,
"max_attachments": 0,
"menu_index": 0,
- "modified": "2017-09-19 11:02:24.831340",
+ "modified": "2017-11-15 01:04:31.132077",
"modified_by": "Administrator",
"module": "Stock",
"name": "Purchase Receipt",