fix: deprecate unused create_contact
This commit is contained in:
parent
d3d10231b9
commit
6f2b34e7d5
@ -15,6 +15,7 @@ from frappe.model.mapper import get_mapped_doc
|
||||
from frappe.model.naming import set_name_by_naming_series, set_name_from_naming_options
|
||||
from frappe.model.utils.rename_doc import update_linked_doctypes
|
||||
from frappe.utils import cint, cstr, flt, get_formatted_email, today
|
||||
from frappe.utils.deprecations import deprecated
|
||||
from frappe.utils.user import get_users_with_role
|
||||
|
||||
from erpnext.accounts.party import get_dashboard_info, validate_party_accounts # noqa
|
||||
@ -303,6 +304,7 @@ class Customer(TransactionBase):
|
||||
)
|
||||
|
||||
|
||||
@deprecated
|
||||
def create_contact(contact, party_type, party, email):
|
||||
"""Create contact based on given contact name"""
|
||||
first, middle, last = parse_full_name(contact)
|
||||
|
Loading…
x
Reference in New Issue
Block a user