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