From 09a42a122f0a446d73942d9b8a69149721379e42 Mon Sep 17 00:00:00 2001 From: Deepesh Garg Date: Sun, 15 Aug 2021 21:19:18 +0530 Subject: [PATCH] fix: Healthcare module accounting test cases (cherry picked from commit bcaf4752952f4aa7819c057ce61c8bd2ef69df78) # Conflicts: # erpnext/healthcare/doctype/lab_test/test_lab_test.py --- erpnext/healthcare/doctype/lab_test/test_lab_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/erpnext/healthcare/doctype/lab_test/test_lab_test.py b/erpnext/healthcare/doctype/lab_test/test_lab_test.py index 06c02d1ea07..754ee94c396 100644 --- a/erpnext/healthcare/doctype/lab_test/test_lab_test.py +++ b/erpnext/healthcare/doctype/lab_test/test_lab_test.py @@ -163,8 +163,14 @@ def create_sales_invoice(): sales_invoice.patient = patient sales_invoice.customer = frappe.db.get_value("Patient", patient, "customer") sales_invoice.due_date = getdate() +<<<<<<< HEAD sales_invoice.company = "_Test Company" sales_invoice.debit_to = get_receivable_account("_Test Company") +======= + sales_invoice.company = '_Test Company' + sales_invoice.currency = 'INR' + sales_invoice.debit_to = get_receivable_account('_Test Company') +>>>>>>> bcaf475295 (fix: Healthcare module accounting test cases) tests = [insulin_resistance_template, blood_test_template] for entry in tests: