Merge pull request #47041 from Sanket322/pos_payment

fix: Check `return_against` and Await API Call
This commit is contained in:
ruthra kumar
2025-05-12 14:10:04 +05:30
committed by GitHub
2 changed files with 20 additions and 18 deletions

View File

@@ -847,8 +847,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe
frappe.model.set_value(item.doctype, item.name, "stock_qty", valid_serial_nos.length);
}
validate() {
this.calculate_taxes_and_totals(false);
async validate() {
await this.calculate_taxes_and_totals(false);
}
update_stock() {