There was an error while loading. Please reload this page.
1 parent 5b2952a commit 02118e7Copy full SHA for 02118e7
1 file changed
erpnext/accounts/doctype/journal_entry/journal_entry.py
@@ -180,7 +180,7 @@ def validate(self):
180
181
JournalTaxWithholding(self).on_validate()
182
183
- if self.is_new() or not self.title:
+ if not self.title or (self.is_new() and self.amended_from):
184
self.title = self.get_title()
185
186
def validate_advance_accounts(self):
0 commit comments