fix: convert to text before setting value

This commit is contained in:
sokumon
2025-04-16 11:03:22 +05:30
parent e2b586d5a3
commit 8da5752059

View File

@@ -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));
},
});
}