fix: delete contact email and phone along with contact
This commit is contained in:
parent
ced6898fd7
commit
1aa8c2ecc4
@ -7,6 +7,8 @@ import frappe
|
||||
|
||||
def create_test_contact_and_address():
|
||||
frappe.db.sql('delete from tabContact')
|
||||
frappe.db.sql('delete from `tabContact Email`')
|
||||
frappe.db.sql('delete from `tabContact Phone`')
|
||||
frappe.db.sql('delete from tabAddress')
|
||||
frappe.db.sql('delete from `tabDynamic Link`')
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user