mirror of
https://github.com/frappe/books.git
synced 2025-02-11 08:28:47 +00:00
fix: row naming issue
This commit is contained in:
parent
90e5680df0
commit
02f1b11203
@ -233,8 +233,11 @@ export default {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (readOnly) {
|
if (readOnly && !this?.doc[fieldname]) {
|
||||||
this.doc.set(fieldname, t`New ${this.schema.label}`);
|
this.doc.set(fieldname, t`New ${this.schema.label}`);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (this?.doc[fieldname]) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user