fix: Imports
This commit is contained in:
parent
479eb23bfe
commit
af62cb8967
2 changed files with 2 additions and 2 deletions
|
|
@ -316,7 +316,7 @@ def import_csv(context, path, only_insert=False, submit_after_import=False, igno
|
|||
@pass_context
|
||||
def data_import(context, file_path, doctype, import_type=None, submit_after_import=False, mute_emails=True):
|
||||
"Import documents in bulk from CSV or XLSX using data import"
|
||||
from frappe.core.doctype.data_import.importer_new import Importer
|
||||
from frappe.core.doctype.data_import_beta.importer import Importer
|
||||
site = get_site(context)
|
||||
|
||||
frappe.init(site=site)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from frappe.model import (
|
|||
)
|
||||
from frappe.utils.csvutils import build_csv_response
|
||||
from frappe.utils.xlsxutils import build_xlsx_response
|
||||
from .importer_new import INVALID_VALUES
|
||||
from frappe.core.doctype.data_import_beta.importer import INVALID_VALUES
|
||||
|
||||
|
||||
class Exporter:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue