mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-29 18:04:46 +00:00
refactor: validation to force accounts to be on same currency
(cherry picked from commit 0f0b4d88bc)
This commit is contained in:
@@ -144,6 +144,7 @@ class Customer(TransactionBase):
|
||||
self.validate_default_bank_account()
|
||||
self.validate_internal_customer()
|
||||
self.add_role_for_user()
|
||||
self.validate_currency_for_receivable_payable_and_advance_account()
|
||||
|
||||
# set loyalty program tier
|
||||
if frappe.db.exists("Customer", self.name):
|
||||
|
||||
Reference in New Issue
Block a user