From f80fb97c717cda4c7f7bb84b18762c0bd86f188c Mon Sep 17 00:00:00 2001 From: anandbaburajan Date: Mon, 13 Feb 2023 17:28:46 +0530 Subject: [PATCH] chore: break look if je processed (cherry picked from commit a220dc0c9c694a9213189b96be8eb9431457280c) (cherry picked from commit ff2e617c0c4a6e7ef2665692cfb66ed92ba3ce36) --- erpnext/accounts/doctype/journal_entry/journal_entry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/erpnext/accounts/doctype/journal_entry/journal_entry.py b/erpnext/accounts/doctype/journal_entry/journal_entry.py index a8b8ec6d12e..c50336e1e61 100644 --- a/erpnext/accounts/doctype/journal_entry/journal_entry.py +++ b/erpnext/accounts/doctype/journal_entry/journal_entry.py @@ -346,6 +346,8 @@ class JournalEntry(AccountsController): finance_books.db_update() asset.set_status() + + break else: depr_value = d.debit or d.credit