There was an error while loading. Please reload this page.
1 parent 0a9b632 commit 4a2163eCopy full SHA for 4a2163e
1 file changed
erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -162,7 +162,7 @@ def validate(self):
162
163
JournalTaxWithholding(self).on_validate()
164
165
- if self.is_new() or not self.title:
+ if not self.title or (self.is_new() and self.amended_from):
166
self.title = self.get_title()
167
168
def validate_advance_accounts(self):
0 commit comments