refactor: get frozen accounts settings from Company in tests

This commit is contained in:
Khushi Rawat
2025-06-13 16:39:46 +05:30
committed by khushi8112
parent d330700f39
commit 479e412a44
8 changed files with 31 additions and 25 deletions

View File

@@ -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