2
0
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:
Faris Ansari 2019-11-22 00:51:43 +05:30
parent 06f75e97fe
commit 31ebfb1d0e

View File

@ -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,