fix: value fetching for custom field in POS (#26366)

This commit is contained in:
Subin Tom
2021-07-09 14:34:51 +05:30
committed by GitHub
parent 717826c1dc
commit 95a15ed85d

View File

@@ -56,7 +56,7 @@ erpnext.PointOfSale.Payment = class {
);
let df_events = {
onchange: function() {
frm.set_value(this.df.fieldname, this.value);
frm.set_value(this.df.fieldname, this.get_value());
}
};
if (df.fieldtype == "Button") {