fix: pos opening entry dialog not saving on change data (#46066)

This commit is contained in:
Diptanil Saha
2025-02-21 17:50:51 +05:30
committed by GitHub
parent f68730f444
commit 8e6959dfad

View File

@@ -40,7 +40,7 @@ erpnext.PointOfSale.Controller = class {
in_list_view: 1,
label: __("Opening Amount"),
options: "company:company_currency",
change: function () {
onchange: function () {
dialog.fields_dict.balance_details.df.data.some((d) => {
if (d.idx == this.doc.idx) {
d.opening_amount = this.value;