mirror of
https://github.com/frappe/erpnext.git
synced 2026-09-09 23:39:28 +00:00
style(stock): declare the Data Import class extension with the others
This commit is contained in:
@@ -72,7 +72,10 @@ doctype_list_js = {
|
||||
|
||||
page_js = {"print": "public/js/print.js"}
|
||||
|
||||
extend_doctype_class = {"Address": "erpnext.accounts.custom.address.ERPNextAddress"}
|
||||
extend_doctype_class = {
|
||||
"Address": "erpnext.accounts.custom.address.ERPNextAddress",
|
||||
"Data Import": "erpnext.stock.serial_batch_import.SerialBatchDataImport",
|
||||
}
|
||||
|
||||
override_whitelisted_methods = {"frappe.www.contact.send_message": "erpnext.templates.utils.send_message"}
|
||||
|
||||
@@ -382,9 +385,6 @@ pre_submit_validation_doctypes = [
|
||||
"Sales Order",
|
||||
]
|
||||
|
||||
|
||||
extend_doctype_class["Data Import"] = "erpnext.stock.serial_batch_import.SerialBatchDataImport"
|
||||
|
||||
doc_events = {
|
||||
"*": {
|
||||
"before_print": "erpnext.stock.serial_batch_display.set_serial_number_labels",
|
||||
|
||||
Reference in New Issue
Block a user