Hide photo picker field when photo is already selected (photo can be chagned by clicking on doctype photo in sidebar)

This commit is contained in:
meichthys 2026-02-18 03:55:05 +00:00
parent 7c0e47dc09
commit 3697f140ab

View File

@ -74,6 +74,7 @@
"options": "Dynamic Link"
},
{
"depends_on": "eval:!doc.photo",
"fieldname": "photo",
"fieldtype": "Attach Image",
"label": "Photo"