mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-13 20:05:09 +00:00
fix: pos additional information fields not updating on removal of data (#47663)
This commit is contained in:
@@ -71,9 +71,9 @@ erpnext.PointOfSale.Payment = class {
|
||||
|
||||
set_values_to_frm(values) {
|
||||
const frm = this.events.get_frm();
|
||||
for (const value in values) {
|
||||
frm.set_value(value, values[value]);
|
||||
}
|
||||
this.addl_dlg.fields.forEach((df) => {
|
||||
frm.set_value(df.fieldname, values[df.fieldname]);
|
||||
});
|
||||
frappe.show_alert({
|
||||
message: __("Additional Information updated successfully."),
|
||||
indicator: "green",
|
||||
|
||||
Reference in New Issue
Block a user