From 6230bbc77d64ef41d1b06b8781a0be358435e599 Mon Sep 17 00:00:00 2001 From: Gursheen Anand Date: Thu, 12 Oct 2023 17:40:57 +0530 Subject: [PATCH] fix: test for reposting pi --- erpnext/controllers/accounts_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index c250756d4f0..045e4fb7b6b 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -3463,7 +3463,7 @@ def check_if_child_table_updated( # Check if any field affecting accounting entry is altered for index, item in enumerate(child_table_before_update): for field in fields_to_check: - if child_table_before_update[index].get(field) != item.get(field): + if child_table_after_update[index].get(field) != item.get(field): return True return False