From 2775175b170e161bf71c417b7bcc5823f9871fae Mon Sep 17 00:00:00 2001 From: tunde Date: Thu, 31 Aug 2017 11:52:14 +0100 Subject: [PATCH] add payment terms to customer master --- .../selling/doctype/customer/customer.json | 36 ++----------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/erpnext/selling/doctype/customer/customer.json b/erpnext/selling/doctype/customer/customer.json index fd394cbb67..9cb9d6a104 100644 --- a/erpnext/selling/doctype/customer/customer.json +++ b/erpnext/selling/doctype/customer/customer.json @@ -830,7 +830,7 @@ "label": "Credit Days Based On", "length": 0, "no_copy": 0, - "options": "\nFixed Days\nLast Day of the Next Month", + "options": "\nFixed Days\nLast Day of the Next Month\nPayment Terms", "permlevel": 0, "precision": "", "print_hide": 0, @@ -907,43 +907,13 @@ "set_only_once": 0, "unique": 0 }, - { - "allow_bulk_edit": 0, - "allow_on_submit": 0, - "bold": 0, - "collapsible": 1, - "collapsible_depends_on": "eval:doc.payment_terms", - "columns": 0, - "fieldname": "payment_terms_section", - "fieldtype": "Section Break", - "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": "Payment Terms", - "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_on_submit": 0, "bold": 0, "collapsible": 0, "columns": 0, + "depends_on": "eval:doc.credit_days_based_on == 'Payment Terms'", "fieldname": "payment_terms", "fieldtype": "Link", "hidden": 0, @@ -1264,7 +1234,7 @@ "issingle": 0, "istable": 0, "max_attachments": 0, - "modified": "2017-08-31 09:37:11.654209", + "modified": "2017-08-31 11:41:10.823682", "modified_by": "Administrator", "module": "Selling", "name": "Customer",