fix: hide Create User Automatically checkbox if user is already selected

(cherry picked from commit ec3302d1c1)
This commit is contained in:
Rucha Mahabal
2026-03-23 14:06:56 +05:30
committed by Mergify
parent d093b71946
commit c12ad7910a

View File

@@ -297,7 +297,7 @@
},
{
"default": "0",
"depends_on": "eval:doc.__islocal",
"depends_on": "eval:doc.__islocal && !doc.user_id",
"description": "This will create User for this employee depending on the Company Email.",
"fieldname": "create_user_automatically",
"fieldtype": "Check",
@@ -834,7 +834,7 @@
"image_field": "image",
"is_tree": 1,
"links": [],
"modified": "2026-03-23 14:04:26.818864",
"modified": "2026-03-23 14:05:42.144641",
"modified_by": "Administrator",
"module": "Setup",
"name": "Employee",