mirror of
https://github.com/frappe/books.git
synced 2024-11-10 07:40:55 +00:00
fix: Set name field as readOnly when not specified
This commit is contained in:
parent
88c84e805b
commit
46ec99199a
@ -31,7 +31,8 @@ module.exports = class BaseMeta extends BaseDocument {
|
||||
label: frappe._('Name'),
|
||||
fieldname: 'name',
|
||||
fieldtype: 'Data',
|
||||
required: 1
|
||||
required: 1,
|
||||
readOnly: 1
|
||||
}
|
||||
].concat(this.fields);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user