From 19d7e43b90597460ae49c8369ef7946c9f8754d7 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 21 Jan 2020 13:04:30 +0530 Subject: [PATCH 1/2] fix: Don't fetch price list rate on change of qty (#20360) --- erpnext/public/js/controllers/transaction.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/public/js/controllers/transaction.js b/erpnext/public/js/controllers/transaction.js index 512bcf9f4fb..8870d75e39a 100644 --- a/erpnext/public/js/controllers/transaction.js +++ b/erpnext/public/js/controllers/transaction.js @@ -968,7 +968,7 @@ erpnext.TransactionController = erpnext.taxes_and_totals.extend({ qty: function(doc, cdt, cdn) { let item = frappe.get_doc(cdt, cdn); - this.conversion_factor(doc, cdt, cdn, false); + this.conversion_factor(doc, cdt, cdn, true); this.apply_pricing_rule(item, true); }, From 67274d01e836bad088ac473c290624e70034bb87 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 21 Jan 2020 13:27:26 +0550 Subject: [PATCH 2/2] bumped to version 12.4.2 --- erpnext/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/__init__.py b/erpnext/__init__.py index cb3af762b04..6137307f21a 100644 --- a/erpnext/__init__.py +++ b/erpnext/__init__.py @@ -5,7 +5,7 @@ import frappe from erpnext.hooks import regional_overrides from frappe.utils import getdate -__version__ = '12.4.1' +__version__ = '12.4.2' def get_default_company(user=None): '''Get default company for user'''