test: Set default currency for patient

This commit is contained in:
Deepesh Garg 2021-08-22 23:48:23 +05:30
parent c10a22529c
commit 30876a105c

View File

@ -206,6 +206,7 @@ def create_patient():
patient = frappe.new_doc('Patient') patient = frappe.new_doc('Patient')
patient.first_name = '_Test Patient' patient.first_name = '_Test Patient'
patient.sex = 'Female' patient.sex = 'Female'
patient.default_currency = 'INR'
patient.save(ignore_permissions=True) patient.save(ignore_permissions=True)
patient = patient.name patient = patient.name
return patient return patient