Skip to content

Commit

Permalink
fix: test for reposting pi
Browse files Browse the repository at this point in the history
  • Loading branch information
GursheenK committed Mar 3, 2024
1 parent e20c1ac commit 6230bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/controllers/accounts_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6230bbc

Please sign in to comment.