I am trying to refresh a field based on socket.
i tried this
frm.refresh_field('description')
Any other way to achieve this. Other then reload a whole page.
Version:
Frappe and erpnext - 14
I am trying to refresh a field based on socket.
i tried this
frm.refresh_field('description')
Any other way to achieve this. Other then reload a whole page.
Version:
Frappe and erpnext - 14
Hi @keerthana_2001:
Use this:
frm.set_df_property("your_html_field", "options", html_content);
Hope this helps.
Also you can update the address via Python .
frappe.db.set_value(“Customer”,“cus_doc_name”,“description”,“address_title or address”)