mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-20 15:32:14 +00:00
@@ -32,11 +32,13 @@ class TestProspect(unittest.TestCase):
|
|||||||
|
|
||||||
frappe.delete_doc_if_exists("Customer", "_Test Prospect")
|
frappe.delete_doc_if_exists("Customer", "_Test Prospect")
|
||||||
|
|
||||||
prospect = frappe.get_doc({
|
prospect = frappe.get_doc(
|
||||||
"doctype": "Prospect",
|
{
|
||||||
"company_name": "_Test Prospect",
|
"doctype": "Prospect",
|
||||||
"customer_group": "_Test Customer Group",
|
"company_name": "_Test Prospect",
|
||||||
})
|
"customer_group": "_Test Customer Group",
|
||||||
|
}
|
||||||
|
)
|
||||||
prospect.insert()
|
prospect.insert()
|
||||||
|
|
||||||
customer = make_customer_from_prospect("_Test Prospect")
|
customer = make_customer_from_prospect("_Test Prospect")
|
||||||
|
|||||||
Reference in New Issue
Block a user