2
0
mirror of https://github.com/frappe/books.git synced 2024-12-25 12:10:06 +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) {
this.fields = [
{
label: frappe._('Name'),
label: frappe._('ID'),
fieldname: 'name',
fieldtype: 'Data',
required: 1,