Allowed same contact to be Linked to Customer AND Supplier AND Sales Partner
diff --git a/erpnext/utilities/doctype/contact/contact.json b/erpnext/utilities/doctype/contact/contact.json
index c71ed60..d2296ca 100644
--- a/erpnext/utilities/doctype/contact/contact.json
+++ b/erpnext/utilities/doctype/contact/contact.json
@@ -75,7 +75,7 @@
"permlevel": 0
},
{
- "depends_on": "eval:!doc.supplier && !doc.sales_partner",
+ "depends_on": "",
"fieldname": "customer",
"fieldtype": "Link",
"label": "Customer",
@@ -86,7 +86,7 @@
"print_hide": 0
},
{
- "depends_on": "eval:!doc.supplier && !doc.sales_partner",
+ "depends_on": "",
"fieldname": "customer_name",
"fieldtype": "Data",
"in_list_view": 0,
@@ -102,7 +102,7 @@
"width": "50%"
},
{
- "depends_on": "eval:!doc.customer && !doc.sales_partner",
+ "depends_on": "",
"fieldname": "supplier",
"fieldtype": "Link",
"label": "Supplier",
@@ -111,7 +111,7 @@
},
{
"allow_on_submit": 0,
- "depends_on": "eval:!doc.customer && !doc.sales_partner",
+ "depends_on": "",
"fieldname": "supplier_name",
"fieldtype": "Data",
"in_list_view": 0,
@@ -120,7 +120,7 @@
"read_only": 1
},
{
- "depends_on": "eval:!doc.customer && !doc.supplier",
+ "depends_on": "",
"fieldname": "sales_partner",
"fieldtype": "Link",
"label": "Sales Partner",
@@ -177,7 +177,7 @@
"idx": 1,
"in_create": 0,
"in_dialog": 0,
- "modified": "2015-03-18 07:06:43.906702",
+ "modified": "2015-07-09 08:15:29.026935",
"modified_by": "Administrator",
"module": "Utilities",
"name": "Contact",