diff --git a/erpnext/patches/v6_0/multi_currency.py b/erpnext/patches/v6_0/multi_currency.py index 127734434e3..242df94258b 100644 --- a/erpnext/patches/v6_0/multi_currency.py +++ b/erpnext/patches/v6_0/multi_currency.py @@ -66,7 +66,7 @@ def execute(): # Set party account if default currency of party other than company's default currency for dt in ("Customer", "Supplier"): - parties = frappe.get_all(dt) + parties = frappe.get_all(dt, filters={"docstatus": 0}) for p in parties: party = frappe.get_doc(dt, p.name) party_accounts = []