From 7c455ad4b61b4f1172099da8a1c9ef5ec24f00e0 Mon Sep 17 00:00:00 2001 From: tundebabzy Date: Mon, 26 Feb 2018 04:50:45 +0100 Subject: [PATCH] display invoices section field only if there are invoices --- erpnext/accounts/doctype/subscriptions/subscriptions.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/subscriptions/subscriptions.json b/erpnext/accounts/doctype/subscriptions/subscriptions.json index 5bc428ad69..70dc96d9ad 100644 --- a/erpnext/accounts/doctype/subscriptions/subscriptions.json +++ b/erpnext/accounts/doctype/subscriptions/subscriptions.json @@ -647,6 +647,7 @@ "bold": 0, "collapsible": 0, "columns": 0, + "depends_on": "eval(doc.invoices)", "fieldname": "sb_3", "fieldtype": "Section Break", "hidden": 0, @@ -715,7 +716,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2018-02-26 04:22:41.250547", + "modified": "2018-02-26 04:49:46.141146", "modified_by": "Administrator", "module": "Accounts", "name": "Subscriptions",