mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-26 21:35:19 +00:00
fix: preserve custom title on new JV (#57987)
Co-authored-by: rehanrehman389 <rehanrehman389@gmail.com>
This commit is contained in:
@@ -180,7 +180,7 @@ class JournalEntry(AccountsController):
|
|||||||
|
|
||||||
JournalTaxWithholding(self).on_validate()
|
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()
|
self.title = self.get_title()
|
||||||
|
|
||||||
def validate_advance_accounts(self):
|
def validate_advance_accounts(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user