ERPNext Conference 2019* ERPNext.com Blog

Address Title not appearing on Lead or Customer pages

customization

#1

Hi there,

When adding a New Address to a Lead, Customer or Supplier, I include the following details:
Address Title (being the person’s name)
Address Type (Client, Supplier, etc.)
Address Line 1
Town/City
Email Address
Phone Number

When I save the address, it appears in a box under the ADDRESS & CONTACT section of the lead, customer or supplier.

However, one detail is missing: the Address Title.

Address box on Lead page

When I look in Customize Form: Address there doesn’t appear to be any difference in the way that the Address Title field is set up to that of, say, the Address Line 1 field. Both are Data fields, both are mandatory, and neither are marked as hidden.

Can anyone suggest a way of making the Address Title field appear in the address box on the Lead, Customer and Supplier forms?

Many thanks,

Helena


#2

Hi @hcza,
this has probably been resolved already, just stumbeled upon it while looking for another issue… The display on the customer/lead is defined by the address template. You can use Jinja code to include the title in this display. Note that this has a global impact on all addresses however…