mirror of
https://github.com/frappe/books.git
synced 2024-11-10 15:50:56 +00:00
fix: Default label for name field should be ID
This commit is contained in:
parent
06f75e97fe
commit
31ebfb1d0e
@ -28,7 +28,7 @@ module.exports = class BaseMeta extends BaseDocument {
|
|||||||
if (!this.fields.find(df => df.fieldname === 'name') && !this.isSingle) {
|
if (!this.fields.find(df => df.fieldname === 'name') && !this.isSingle) {
|
||||||
this.fields = [
|
this.fields = [
|
||||||
{
|
{
|
||||||
label: frappe._('Name'),
|
label: frappe._('ID'),
|
||||||
fieldname: 'name',
|
fieldname: 'name',
|
||||||
fieldtype: 'Data',
|
fieldtype: 'Data',
|
||||||
required: 1,
|
required: 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user