'CustomerQuickEntryForm' How to customize?

Hello everybody;We need to add a default value to ‘country’ field in customer quick entry dialog ;this field is not customer doctype field although it is mandatory to be set if ‘address line field’ has a value ;
how to override this or any way to add acustom script on customer quick entry?

Hello @Zeinab_Mohammed

Try to add this to script in any JS file and make sure this JS file is added on hooks.py

frappe.ui.form.CustomerQuickEntryForm = frappe.ui.form.CustomerQuickEntryForm.extend(
    {
      render_dialog: function () {
        this._super();
        ...
    }
  );

Regards,

Ivan

Thanks for your response @iRaySpace
Please tell me if we can use this snippet directly in client custom script ?