mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 03:09:09 +00:00
test: Set default currency for patient
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user