feat: allow on submit for selected fields

This commit is contained in:
Gursheen Anand
2023-10-12 12:20:01 +05:30
parent db7348a1de
commit 6c3b5bb402

View File

@@ -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",
@@ -202,6 +205,7 @@
"no_copy": 1
},
{
"allow_on_submit": 1,
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
@@ -249,6 +253,7 @@
"fieldtype": "Column Break"
},
{
"allow_on_submit": 1,
"fieldname": "bank_account",
"fieldtype": "Link",
"label": "Bank Account",