Skip to content

Commit

Permalink
refactor: organize communication
Browse files Browse the repository at this point in the history
companion to: frappe/frappe#23931
  • Loading branch information
blaggacao committed Dec 29, 2023
1 parent 70abedc commit 7db08d3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion erpnext/crm/doctype/lead/lead.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@

import frappe
from frappe import _
from frappe.communications.inbox import link_communication_to_document
from frappe.contacts.address_and_contact import (
delete_contact_and_address,
load_address_and_contact,
)
from frappe.contacts.doctype.address.address import get_default_address
from frappe.contacts.doctype.contact.contact import get_default_contact
from frappe.email.inbox import link_communication_to_document
from frappe.model.mapper import get_mapped_doc
from frappe.utils import comma_and, get_link_to_form, has_gravatar, validate_email_address

Expand Down
2 changes: 1 addition & 1 deletion erpnext/crm/doctype/opportunity/opportunity.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

import frappe
from frappe import _
from frappe.communications.inbox import link_communication_to_document
from frappe.contacts.address_and_contact import load_address_and_contact
from frappe.email.inbox import link_communication_to_document
from frappe.model.mapper import get_mapped_doc
from frappe.query_builder import DocType, Interval
from frappe.query_builder.functions import Now
Expand Down
2 changes: 1 addition & 1 deletion erpnext/support/doctype/issue/issue.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@

import frappe
from frappe import _
from frappe.communications.inbox import link_communication_to_document
from frappe.core.utils import get_parent_doc
from frappe.email.inbox import link_communication_to_document
from frappe.model.document import Document
from frappe.model.mapper import get_mapped_doc
from frappe.query_builder import Interval
Expand Down

0 comments on commit 7db08d3

Please sign in to comment.