mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 22:21:31 +01:00
fix: convert to text before setting value
This commit is contained in:
@@ -160,7 +160,7 @@ frappe.ui.form.on("Supplier", {
|
||||
address_dict: frm.doc.supplier_primary_address,
|
||||
},
|
||||
callback: function (r) {
|
||||
frm.set_value("primary_address", r.message);
|
||||
frm.set_value("primary_address", frappe.utils.html2text(r.message));
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user