mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-13 17:20:36 +00:00
refactor: use Singles table to get acc_frozen_upto and modifier during migration
This commit is contained in:
@@ -605,7 +605,7 @@ class Company(NestedSet):
|
||||
def validate_pending_reposts(self, old_doc):
|
||||
if old_doc and old_doc.accounts_frozen_till_date != self.accounts_frozen_till_date:
|
||||
if self.accounts_frozen_till_date:
|
||||
check_pending_reposting(self.accounts_frozen_till_date)
|
||||
check_pending_reposting(self.accounts_frozen_till_date, self.name)
|
||||
|
||||
def set_default_accounts(self):
|
||||
default_accounts = {
|
||||
|
||||
Reference in New Issue
Block a user