Merge pull request #24937 from ankush/hide_alt_field

fix: hide alt tag if item is not shown in website
This commit is contained in:
Marica 2021-03-25 20:14:52 +05:30 committed by GitHub
commit ffb4e3f280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1054,6 +1054,7 @@
"read_only": 1 "read_only": 1
}, },
{ {
"depends_on": "eval: doc.show_in_website || doc.show_variant_in_website",
"fieldname": "website_image_alt", "fieldname": "website_image_alt",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Image Description" "label": "Image Description"
@ -1066,7 +1067,7 @@
"index_web_pages_for_search": 1, "index_web_pages_for_search": 1,
"links": [], "links": [],
"max_attachments": 1, "max_attachments": 1,
"modified": "2021-03-15 13:41:04.108932", "modified": "2021-03-18 14:04:38.575519",
"modified_by": "Administrator", "modified_by": "Administrator",
"module": "Stock", "module": "Stock",
"name": "Item", "name": "Item",
@ -1137,4 +1138,4 @@
"sort_order": "DESC", "sort_order": "DESC",
"title_field": "item_name", "title_field": "item_name",
"track_changes": 1 "track_changes": 1
} }