fix: Healthcare module accounting test cases
(cherry picked from commit bcaf475295)
# Conflicts:
# erpnext/healthcare/doctype/lab_test/test_lab_test.py
This commit is contained in:
@@ -163,8 +163,14 @@ def create_sales_invoice():
|
|||||||
sales_invoice.patient = patient
|
sales_invoice.patient = patient
|
||||||
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()
|
||||||
|
<<<<<<< HEAD
|
||||||
sales_invoice.company = "_Test Company"
|
sales_invoice.company = "_Test Company"
|
||||||
sales_invoice.debit_to = get_receivable_account("_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]
|
tests = [insulin_resistance_template, blood_test_template]
|
||||||
for entry in tests:
|
for entry in tests:
|
||||||
|
|||||||
Reference in New Issue
Block a user