Skip to content

Commit

Permalink
feat: allow on submit for selected fields
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Mar 3, 2024
1 parent db7348a commit 6c3b5bb
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
],
"fields": [
{
"allow_on_submit": 1,
"bold": 1,
"columns": 2,
"fieldname": "account",
Expand All @@ -55,13 +56,15 @@
"width": "250px"
},
{
"allow_on_submit": 1,
"fieldname": "account_type",
"fieldtype": "Data",
"hidden": 1,
"label": "Account Type",
"print_hide": 1
},
{
"allow_on_submit": 1,
"default": ":Company",
"description": "If Income or Expense",
"fieldname": "cost_center",
Expand Down Expand Up @@ -202,6 +205,7 @@
"no_copy": 1
},
{
"allow_on_submit": 1,
"fieldname": "project",
"fieldtype": "Link",
"label": "Project",
Expand Down Expand Up @@ -249,6 +253,7 @@
"fieldtype": "Column Break"
},
{
"allow_on_submit": 1,
"fieldname": "bank_account",
"fieldtype": "Link",
"label": "Bank Account",
Expand Down

0 comments on commit 6c3b5bb

Please sign in to comment.