fix: update journal entry title on amend

(cherry picked from commit 4a3ee4df29)
This commit is contained in:
ravibharathi656
2025-06-20 17:47:09 +05:30
committed by Mergify
parent 866780b383
commit 4341ac7e7a

View File

@@ -147,8 +147,7 @@ class JournalEntry(AccountsController):
if self.docstatus == 0:
self.apply_tax_withholding()
if not self.title:
self.title = self.get_title()
self.title = self.get_title()
def validate_advance_accounts(self):
journal_accounts = set([x.account for x in self.accounts])