mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-29 14:48:26 +00:00
refactor: get frozen accounts settings from Company in tests
This commit is contained in:
@@ -2332,7 +2332,7 @@ class AccountsController(TransactionBase):
|
||||
|
||||
def validate_party(self):
|
||||
party_type, party = self.get_party()
|
||||
validate_party_frozen_disabled(party_type, party)
|
||||
validate_party_frozen_disabled(self.company, party_type, party)
|
||||
|
||||
def get_party(self):
|
||||
party_type = None
|
||||
|
||||
Reference in New Issue
Block a user