refactor: validation to force accounts to be on same currency

(cherry picked from commit 0f0b4d88bc)
This commit is contained in:
ruthra kumar
2024-05-29 11:26:10 +05:30
committed by Mergify
parent 88e1c28e7d
commit 78ad3f6cdc
3 changed files with 59 additions and 0 deletions

View File

@@ -138,6 +138,7 @@ class Supplier(TransactionBase):
validate_party_accounts(self)
self.validate_internal_supplier()
self.add_role_for_user()
self.validate_currency_for_receivable_payable_and_advance_account()
@frappe.whitelist()
def get_supplier_group_details(self):