ERPNext Foundation ERPNext Cloud User Manual Blog Discuss Frappé* Donate

Display of fields in New Customer popup while creating Sales Order


#1

Hi,
When creating Sales Order, if we click on Create New Customer (through popup), we have a mandatory field Phone. As that is not present in popup it is throwing an error which says Phone is mandatory. How to display Phone field in that popup in the last section? I’ve tried checking Bold and Mandatory both in Customize form (Address) and also in Doctype(Address) directly. It is not displaying.
Can anyone help us?

We are on the following versions
ERPNext: v10.0.19
Frappe: v10.0.20


#2

If you have self-hosted instance then you need to add it via customize quick entry

ref


#3

Hi @saurabh6790,
Thanks a lot. Now it is visible in the form. But failed to save. I’m unable to save the value of the new field. Can you please help me on this?


#4

Hey @saurabh6790, I think I got the method. Located in apps/frappe/frappe/public/js/frappe/form/quick_entry.js which then calls, in my case, create_primary_address() (called from on_update()) in apps/erpnext/erpnext/selling/doctype/customer/customer.py

Anyways, Thanks for your help.