Browse Source

Feature finder fields update

version2
venkata akhil 1 year ago
parent
commit
509cfa4659
  1. 2
      smart_service/phase_2/doctype/feature_finder/feature_finder.js
  2. 6
      smart_service/phase_2/doctype/feature_finder/feature_finder.json

2
smart_service/phase_2/doctype/feature_finder/feature_finder.js

@ -59,7 +59,7 @@ frappe.ui.form.on('Feature Finder', {
cur_frm.refresh_fields("features_names")
cur_frm.refresh_fields("feature_name")
if (frm.doc.variant) {
frm.toggle_display('feature_name', true)
// frm.toggle_display('feature_name', true)
frm.toggle_display('features_names', true)
} else {
frm.toggle_display('features_names', false)

6
smart_service/phase_2/doctype/feature_finder/feature_finder.json

@ -1,6 +1,4 @@
{
"_comments": "[]",
"_liked_by": "[\"Administrator\"]",
"actions": [],
"allow_rename": 1,
"autoname": "format:{variant}-{features_names}-{language}",
@ -71,7 +69,6 @@
"set_only_once": 1
},
{
"depends_on": "eval:doc.variant!=\"\"",
"fieldname": "feature_name",
"fieldtype": "Link",
"hidden": 1,
@ -128,6 +125,7 @@
{
"fieldname": "specification",
"fieldtype": "Table",
"hidden": 1,
"label": "Specification",
"options": "Feature Finder Specification"
},
@ -210,7 +208,7 @@
],
"index_web_pages_for_search": 1,
"links": [],
"modified": "2023-09-15 10:05:47.926994",
"modified": "2023-10-03 10:31:40.954062",
"modified_by": "Administrator",
"module": "Phase-2",
"name": "Feature Finder",

Loading…
Cancel
Save