diff --git a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py index 2c3104a0615..9bb16355456 100644 --- a/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/test_sales_invoice.py @@ -4294,6 +4294,7 @@ class TestSalesInvoice(IntegrationTestCase): si = create_sales_invoice(do_not_submit=True) project = frappe.new_doc("Project") + project.company = "_Test Company" project.project_name = "Test Total Billed Amount" project.save() diff --git a/erpnext/projects/doctype/project/test_records.toml b/erpnext/projects/doctype/project/test_records.toml index f59441bfc06..3e0a04598b4 100644 --- a/erpnext/projects/doctype/project/test_records.toml +++ b/erpnext/projects/doctype/project/test_records.toml @@ -1,4 +1,4 @@ [[Project]] project_name = "_Test Project" status = "Open" - +company = "_Test Company"