From b11365b8c258e17e487fb65bd97c0a3e1e6a6892 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 20 May 2026 11:49:54 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20valuation=20rate=20missing=20for=20stand?= =?UTF-8?q?alone=20credit=20notes=20for=20moving=20av=E2=80=A6=20(backport?= =?UTF-8?q?=20#55102)=20(#55104)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Mihir Kandoi fix: valuation rate missing for standalone credit notes for moving av… (#55102) --- erpnext/controllers/selling_controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/erpnext/controllers/selling_controller.py b/erpnext/controllers/selling_controller.py index 5a062e19daf..7209c54fb12 100644 --- a/erpnext/controllers/selling_controller.py +++ b/erpnext/controllers/selling_controller.py @@ -579,6 +579,7 @@ class SellingController(StockController): or ( get_valuation_method(d.item_code, self.company) == "Moving Average" and self.get("is_return") + and not is_standalone ) ): d.incoming_rate = get_incoming_rate(