diff --git a/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json index f0b39126a9a..daf4c98b9d3 100644 --- a/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json +++ b/erpnext/accounts/doctype/payment_terms_template_detail/payment_terms_template_detail.json @@ -42,6 +42,7 @@ { "columns": 2, "fetch_from": "payment_term.invoice_portion", + "fetch_if_empty": 1, "fieldname": "invoice_portion", "fieldtype": "Float", "in_list_view": 1, @@ -63,6 +64,7 @@ "default": "0", "depends_on": "eval:in_list(['Day(s) after invoice date', 'Day(s) after the end of the invoice month'], doc.due_date_based_on)", "fetch_from": "payment_term.credit_days", + "fetch_if_empty": 1, "fieldname": "credit_days", "fieldtype": "Int", "in_list_view": 1, @@ -73,6 +75,7 @@ "default": "0", "depends_on": "eval:doc.due_date_based_on=='Month(s) after the end of the invoice month'", "fetch_from": "payment_term.credit_months", + "fetch_if_empty": 1, "fieldname": "credit_months", "fieldtype": "Int", "label": "Credit Months", @@ -143,7 +146,7 @@ "index_web_pages_for_search": 1, "istable": 1, "links": [], - "modified": "2021-02-23 20:16:23.301064", + "modified": "2021-02-24 11:32:39.134870", "modified_by": "Administrator", "module": "Accounts", "name": "Payment Terms Template Detail",