test: Set default currency for patient
This commit is contained in:
parent
c10a22529c
commit
30876a105c
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user