mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 08:24:47 +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) {
|
set_values_to_frm(values) {
|
||||||
const frm = this.events.get_frm();
|
const frm = this.events.get_frm();
|
||||||
for (const value in values) {
|
this.addl_dlg.fields.forEach((df) => {
|
||||||
frm.set_value(value, values[value]);
|
frm.set_value(df.fieldname, values[df.fieldname]);
|
||||||
}
|
});
|
||||||
frappe.show_alert({
|
frappe.show_alert({
|
||||||
message: __("Additional Information updated successfully."),
|
message: __("Additional Information updated successfully."),
|
||||||
indicator: "green",
|
indicator: "green",
|
||||||
|
|||||||
Reference in New Issue
Block a user