From 1230e3a28bc16a48cf7902cb259ce250e556cc2e Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 27 Jan 2014 11:01:57 +0530 Subject: [PATCH 1/3] don't hide customer / supplier links, webnotes/erpenxt#796 --- erpnext/utilities/doctype/address/address.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/erpnext/utilities/doctype/address/address.txt b/erpnext/utilities/doctype/address/address.txt index 669da2b1c09..7b24d07aa49 100644 --- a/erpnext/utilities/doctype/address/address.txt +++ b/erpnext/utilities/doctype/address/address.txt @@ -2,7 +2,7 @@ { "creation": "2013-01-10 16:34:32", "docstatus": 0, - "modified": "2013-12-20 19:23:54", + "modified": "2014-01-27 11:01:05", "modified_by": "Administrator", "owner": "Administrator" }, @@ -26,7 +26,9 @@ "permlevel": 0 }, { + "cancel": 0, "create": 1, + "delete": 0, "doctype": "DocPerm", "email": 1, "name": "__common__", @@ -170,7 +172,6 @@ "options": "icon-pushpin" }, { - "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "customer", "fieldtype": "Link", @@ -178,7 +179,6 @@ "options": "Customer" }, { - "depends_on": "eval:!doc.supplier && !doc.sales_partner", "doctype": "DocField", "fieldname": "customer_name", "fieldtype": "Data", @@ -188,7 +188,6 @@ "read_only": 1 }, { - "depends_on": "eval:!doc.customer && !doc.sales_partner && !doc.lead", "doctype": "DocField", "fieldname": "supplier", "fieldtype": "Link", @@ -196,7 +195,6 @@ "options": "Supplier" }, { - "depends_on": "eval:!doc.customer && !doc.sales_partner && !doc.lead", "doctype": "DocField", "fieldname": "supplier_name", "fieldtype": "Data", @@ -207,7 +205,6 @@ "search_index": 0 }, { - "depends_on": "eval:!doc.customer && !doc.supplier && !doc.lead", "doctype": "DocField", "fieldname": "sales_partner", "fieldtype": "Link", From 3b432dce88d92004f7fcd9628753214964a8b7cf Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Tue, 28 Jan 2014 16:10:15 +0530 Subject: [PATCH 2/3] added listviews --- erpnext/utilities/doctype/address/address.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/erpnext/utilities/doctype/address/address.txt b/erpnext/utilities/doctype/address/address.txt index 7b24d07aa49..aa9230dcb6c 100644 --- a/erpnext/utilities/doctype/address/address.txt +++ b/erpnext/utilities/doctype/address/address.txt @@ -2,7 +2,7 @@ { "creation": "2013-01-10 16:34:32", "docstatus": 0, - "modified": "2014-01-27 11:01:05", + "modified": "2014-01-27 11:19:06", "modified_by": "Administrator", "owner": "Administrator" }, @@ -58,6 +58,7 @@ "doctype": "DocField", "fieldname": "address_title", "fieldtype": "Data", + "in_list_view": 1, "label": "Address Title", "reqd": 0 }, @@ -97,6 +98,7 @@ "fieldname": "state", "fieldtype": "Data", "in_filter": 1, + "in_list_view": 1, "label": "State", "options": "Suggest", "search_index": 0 @@ -106,6 +108,7 @@ "fieldname": "pincode", "fieldtype": "Data", "in_filter": 1, + "in_list_view": 1, "label": "Pincode", "search_index": 1 }, @@ -183,7 +186,7 @@ "fieldname": "customer_name", "fieldtype": "Data", "in_filter": 1, - "in_list_view": 1, + "in_list_view": 0, "label": "Customer Name", "read_only": 1 }, @@ -199,7 +202,7 @@ "fieldname": "supplier_name", "fieldtype": "Data", "in_filter": 1, - "in_list_view": 1, + "in_list_view": 0, "label": "Supplier Name", "read_only": 1, "search_index": 0 From 86127781363c2622b75930f2f08db906682c2df3 Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Mon, 3 Feb 2014 10:45:21 +0530 Subject: [PATCH 3/3] style fix --- erpnext/public/js/conf.js | 1 - 1 file changed, 1 deletion(-) diff --git a/erpnext/public/js/conf.js b/erpnext/public/js/conf.js index 73099d1f371..58e9f974e6c 100644 --- a/erpnext/public/js/conf.js +++ b/erpnext/public/js/conf.js @@ -15,7 +15,6 @@ $(document).bind('toolbar_setup', function() { .addClass("navbar-icon-home") .css({ "max-width": "200px", - "overflow": "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" });