fix(pos): remove redundant opening balance dialog onchange handler (#54591)

This commit is contained in:
Ravibharathi
2026-06-24 02:20:44 +05:30
committed by GitHub
parent 1e37c4b9ac
commit 022845e4e7

View File

@@ -40,15 +40,6 @@ erpnext.PointOfSale.Controller = class {
in_list_view: 1,
label: __("Opening Amount"),
options: "company:company_currency",
onchange: function () {
dialog.fields_dict.balance_details.df.data.some((d) => {
if (d.idx == this.doc.idx) {
d.opening_amount = this.value;
dialog.fields_dict.balance_details.grid.refresh();
return true;
}
});
},
},
];
const fetch_pos_payment_methods = () => {