From 5133ba47b7f7d7b05691252b7df1caf2f877c085 Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Tue, 14 Jul 2026 18:02:59 +0530 Subject: [PATCH] fix: make currency exchange truly idempotent against any pre-existing state Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- erpnext/tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/tests/utils.py b/erpnext/tests/utils.py index 61800eef0a0..aebb7a22650 100644 --- a/erpnext/tests/utils.py +++ b/erpnext/tests/utils.py @@ -2564,7 +2564,7 @@ class BootStrapTestData: "for_selling": 1, }, ] - self.make_records(["from_currency", "to_currency", "date"], records) + self.make_records(["from_currency", "to_currency", "date", "for_buying", "for_selling"], records) def make_operation(self): records = [