fix: preserve custom title on new JV (#57987)

Co-authored-by: rehanrehman389 <rehanrehman389@gmail.com>
This commit is contained in:
Diptanil Saha
2026-08-10 21:27:44 +05:30
committed by GitHub
parent 5b2952aa23
commit 02118e7ba0

View File

@@ -180,7 +180,7 @@ class JournalEntry(AccountsController):
JournalTaxWithholding(self).on_validate()
if self.is_new() or not self.title:
if not self.title or (self.is_new() and self.amended_from):
self.title = self.get_title()
def validate_advance_accounts(self):