mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +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'),
|
label: frappe._('Name'),
|
||||||
fieldname: 'name',
|
fieldname: 'name',
|
||||||
fieldtype: 'Data',
|
fieldtype: 'Data',
|
||||||
required: 1
|
required: 1,
|
||||||
|
readOnly: 1
|
||||||
}
|
}
|
||||||
].concat(this.fields);
|
].concat(this.fields);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user