fix(test): incorrect field for customer default billing currency

(cherry picked from commit c696d13a5e)
This commit is contained in:
ruthra kumar
2024-06-18 14:35:35 +05:30
committed by Mergify
parent a1ebd16284
commit 3b15708f18

View File

@@ -565,7 +565,7 @@ def create_parties():
if not frappe.db.exists("Customer", "_Test Subscription Customer"):
customer = frappe.new_doc("Customer")
customer.customer_name = "_Test Subscription Customer"
customer.billing_currency = "USD"
customer.default_currency = "USD"
customer.append("accounts", {"company": "_Test Company", "account": "_Test Receivable USD - _TC"})
customer.insert()