fix: Healthcare module accounting test cases

This commit is contained in:
Deepesh Garg 2021-08-15 21:19:18 +05:30
parent f00620a3ca
commit bcaf475295

View File

@ -147,6 +147,7 @@ def create_sales_invoice():
sales_invoice.customer = frappe.db.get_value('Patient', patient, 'customer') sales_invoice.customer = frappe.db.get_value('Patient', patient, 'customer')
sales_invoice.due_date = getdate() sales_invoice.due_date = getdate()
sales_invoice.company = '_Test Company' sales_invoice.company = '_Test Company'
sales_invoice.currency = 'INR'
sales_invoice.debit_to = get_receivable_account('_Test Company') sales_invoice.debit_to = get_receivable_account('_Test Company')
tests = [insulin_resistance_template, blood_test_template] tests = [insulin_resistance_template, blood_test_template]