fix: virtual fields are never writable (#24693)
This commit is contained in:
parent
81d8a0b8b9
commit
d26c67df75
1 changed files with 1 additions and 1 deletions
|
|
@ -203,7 +203,7 @@ $.extend(frappe.perm, {
|
|||
|
||||
// permission
|
||||
if (p) {
|
||||
if (p.write && !df.disabled) {
|
||||
if (p.write && !df.disabled && !df.is_virtual) {
|
||||
status = "Write";
|
||||
} else if (p.read) {
|
||||
status = "Read";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue