I am carrying out an address customization for Kuwait.
Added the custom fields and exported the fixtures.
The only problem I have is that Customer DocType
Quick Entry Modal is in itself a custom Modal being rendered by ContactAddressQuickEntryForm
in ERPNext.
How can I tap into that Modal and customize/override it so it would reflect the address customizations I have done in Address DocType?
Has anyone attempted this? If not, any hints on how to do it?
HI @Ismail_Tabtabai
Were you able to solve this?
It was too complicated at the time. I just ignored it, in usage (disabled it) due to lack of JS experience.
I might look into it again now that I have a better grasp of Frappe as a whole.
However, if you’re interested, the idea is to modify the original JS class and related json structure of the panel.
Note that Frappe has a certain default way of presenting the QuickEntry panel. ERPNext modifies it and looking into that modification I derived my solution.
Lookup the code in:
frappe-bench/apps/erpnext/erpnext/public/js/utils/contact_address_quick_entry.js
frappe-bench/apps/erpnext/erpnext/public/js/utils/customer_quick_entry.js
My solution is in:
I hope this helps.