From 464e3339fed51b80addbff455022fb9d6c8147cd Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Sat, 1 Mar 2025 21:34:06 +0530 Subject: [PATCH] fix: stock qty not recalculate on changing of the qty --- erpnext/public/js/controllers/transaction.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 0bec99e06fb..d68220c2e8f 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -1373,6 +1373,8 @@ erpnext.TransactionController = class TransactionController extends erpnext.taxe () => this.calculate_stock_uom_rate(doc, cdt, cdn), () => this.apply_pricing_rule(item, true) ]); + } else { + this.conversion_factor(doc, cdt, cdn, true) } }