From f4c8d63fe014281f3fb01c6d00eb8eaeadec4ab8 Mon Sep 17 00:00:00 2001 From: Gursheen Anand Date: Thu, 12 Oct 2023 12:20:01 +0530 Subject: [PATCH] feat: allow on submit for selected fields --- .../journal_entry_account/journal_entry_account.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json index 6e694a615d..06907369a5 100644 --- a/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json +++ b/erpnext/accounts/doctype/journal_entry_account/journal_entry_account.json @@ -39,6 +39,7 @@ ], "fields": [ { + "allow_on_submit": 1, "bold": 1, "columns": 2, "fieldname": "account", @@ -55,6 +56,7 @@ "width": "250px" }, { + "allow_on_submit": 1, "fieldname": "account_type", "fieldtype": "Data", "hidden": 1, @@ -62,6 +64,7 @@ "print_hide": 1 }, { + "allow_on_submit": 1, "default": ":Company", "description": "If Income or Expense", "fieldname": "cost_center", @@ -200,6 +203,7 @@ "no_copy": 1 }, { + "allow_on_submit": 1, "fieldname": "project", "fieldtype": "Link", "label": "Project", @@ -247,6 +251,7 @@ "fieldtype": "Column Break" }, { + "allow_on_submit": 1, "fieldname": "bank_account", "fieldtype": "Link", "label": "Bank Account", @@ -263,7 +268,7 @@ "idx": 1, "istable": 1, "links": [], - "modified": "2023-10-12 11:52:46.397186", + "modified": "2023-10-12 12:18:49.224840", "modified_by": "Administrator", "module": "Accounts", "name": "Journal Entry Account",