mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
Merge pull request #47111 from sokumon/supplier-address
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,
|
address_dict: frm.doc.supplier_primary_address,
|
||||||
},
|
},
|
||||||
callback: function (r) {
|
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