From 5a6ff218e89f9e6194f2acdd7556447f4297ebdb Mon Sep 17 00:00:00 2001 From: Neil Trini Lasrado Date: Thu, 9 Jul 2015 17:49:40 +0530 Subject: [PATCH] Allowed same contact to be Linked to Customer AND Supplier AND Sales Partner --- erpnext/utilities/doctype/contact/contact.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/erpnext/utilities/doctype/contact/contact.json b/erpnext/utilities/doctype/contact/contact.json index c71ed60cd3..d2296caa07 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",