mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
style: removed unused imports and updated formatting
This commit is contained in:
@@ -15,7 +15,7 @@ frappe.ui.form.on('Tally Migration', {
|
|||||||
let error_occurred = data.count === -1;
|
let error_occurred = data.count === -1;
|
||||||
if (data.count == data.total || error_occurred) {
|
if (data.count == data.total || error_occurred) {
|
||||||
window.setTimeout((title) => {
|
window.setTimeout((title) => {
|
||||||
frm.dashboard.hide_progress(title)
|
frm.dashboard.hide_progress(title);
|
||||||
frm.reload_doc();
|
frm.reload_doc();
|
||||||
if (error_occurred) {
|
if (error_occurred) {
|
||||||
frappe.msgprint({
|
frappe.msgprint({
|
||||||
|
|||||||
@@ -5,7 +5,6 @@
|
|||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
import json
|
import json
|
||||||
import sys
|
|
||||||
import re
|
import re
|
||||||
import traceback
|
import traceback
|
||||||
import zipfile
|
import zipfile
|
||||||
@@ -18,7 +17,6 @@ from erpnext import encode_company_abbr
|
|||||||
from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import create_charts
|
from erpnext.accounts.doctype.account.chart_of_accounts.chart_of_accounts import create_charts
|
||||||
from frappe import _
|
from frappe import _
|
||||||
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
|
from frappe.custom.doctype.custom_field.custom_field import create_custom_field
|
||||||
from frappe.desk.doctype.notification_log.notification_log import enqueue_create_notification
|
|
||||||
from frappe.model.document import Document
|
from frappe.model.document import Document
|
||||||
from frappe.model.naming import getseries, revert_series_if_last
|
from frappe.model.naming import getseries, revert_series_if_last
|
||||||
from frappe.utils.data import format_datetime
|
from frappe.utils.data import format_datetime
|
||||||
|
|||||||
Reference in New Issue
Block a user