fix: update journal entry title on amend
This commit is contained in:
@@ -148,8 +148,7 @@ class JournalEntry(AccountsController):
|
|||||||
if self.docstatus == 0:
|
if self.docstatus == 0:
|
||||||
self.apply_tax_withholding()
|
self.apply_tax_withholding()
|
||||||
|
|
||||||
if not self.title:
|
self.title = self.get_title()
|
||||||
self.title = self.get_title()
|
|
||||||
|
|
||||||
def validate_advance_accounts(self):
|
def validate_advance_accounts(self):
|
||||||
journal_accounts = set([x.account for x in self.accounts])
|
journal_accounts = set([x.account for x in self.accounts])
|
||||||
|
|||||||
Reference in New Issue
Block a user