fix(Data Import): allow Print Format (#31842)
This commit is contained in:
parent
deaf5e1049
commit
92dd79dfe2
1 changed files with 2 additions and 2 deletions
|
|
@ -9,13 +9,13 @@ import frappe
|
|||
from frappe import _
|
||||
from frappe.core.doctype.data_import.exporter import Exporter
|
||||
from frappe.core.doctype.data_import.importer import Importer
|
||||
from frappe.model import core_doctypes_list
|
||||
from frappe.model import CORE_DOCTYPES
|
||||
from frappe.model.document import Document
|
||||
from frappe.modules.import_file import import_file_by_path
|
||||
from frappe.utils.background_jobs import enqueue, is_job_enqueued
|
||||
from frappe.utils.csvutils import validate_google_sheets_url
|
||||
|
||||
BLOCKED_DOCTYPES = set(core_doctypes_list) - {"User", "Role"}
|
||||
BLOCKED_DOCTYPES = CORE_DOCTYPES - {"User", "Role", "Print Format"}
|
||||
|
||||
|
||||
class DataImport(Document):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue