Merge pull request #50824 from khushi8112/move-accounts-freezing-setting-to-company

refactor: Move accounts freezing setting to company
This commit is contained in:
Khushi Rawat
2025-12-04 12:16:46 +05:30
committed by GitHub
21 changed files with 167 additions and 100 deletions

View File

@@ -2357,7 +2357,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