Skip to content

Commit

Permalink
fix: show fields only when their dependencies are filled in (backport #…
Browse files Browse the repository at this point in the history
…30) (#35)

Co-authored-by: Markus Lobedann <[email protected]>
  • Loading branch information
mergify[bot] and Mutantpenguin authored Jun 22, 2024
1 parent da881ff commit 66bfa23
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,13 +195,15 @@
"in_standard_filter": 1,
"label": "Party",
"options": "party_type",
"read_only_depends_on": "eval: !doc.party_type",
"set_only_once": 1
},
{
"fieldname": "party_address",
"fieldtype": "Link",
"label": "Party Address",
"options": "Address",
"read_only_depends_on": "eval: !doc.party",
"set_only_once": 1
},
{
Expand All @@ -217,7 +219,7 @@
}
],
"links": [],
"modified": "2024-01-15 19:51:41.796509",
"modified": "2024-06-11 10:14:55.846253",
"modified_by": "Administrator",
"module": "ERPNext Germany",
"name": "VAT ID Check",
Expand Down Expand Up @@ -274,4 +276,4 @@
"sort_order": "DESC",
"states": [],
"title_field": "party_vat_id"
}
}

0 comments on commit 66bfa23

Please sign in to comment.