Set the document title ​

The title is the name that ERPNext shows at the top of a form and in lists. Most documents have a Title field. For example, the title of a Quotation is the customer name. If you send many quotations to the same customer, a title with more detail is more useful.

Prerequisites ​

  • The System Manager role.

Choose the title field ​

  1. Open Customize Form for the DocType.
  2. In Title Field, enter the field name of the field to use as the title, for example customer_name.
  3. Select Update.

If the form has no suitable field, add a custom field, and use it as the title field.

Build the title from many fields ​

You can build the title from many fields of the document. Write each field name in braces, for example {customer_name} - {tax_id}.

  1. In Customize Form, open the title field.
  2. Enter the pattern:
    • In Default, for a title that users can change. ERPNext fills in the title when the document is created. Users can edit it by selecting the heading of the form.
    • In Options, for a fixed title. ERPNext rebuilds the title each time the document is saved.
  3. Select Update.

The same method builds any read-only field from other fields. For example, a Read Only field with {address_line1}, {city}, {pincode} in Options combines an address. Use Options, not Default, so that the field updates when the source fields change. The field type must not be Data.