From 9ae0380a96ebe7521e28262c5d9e10914d45de18 Mon Sep 17 00:00:00 2001 From: Saif Ur Rehman Date: Tue, 14 Sep 2021 15:09:58 +0500 Subject: [PATCH] chore(Asset Capitalization): isort linting --- .../accounts/doctype/sales_invoice/sales_invoice.py | 11 +---------- erpnext/controllers/accounts_controller.py | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py index b2188e1e5ea..14f4787cda0 100644 --- a/erpnext/accounts/doctype/sales_invoice/sales_invoice.py +++ b/erpnext/accounts/doctype/sales_invoice/sales_invoice.py @@ -8,16 +8,7 @@ from frappe import _, msgprint, throw from frappe.contacts.doctype.address.address import get_address_display from frappe.model.mapper import get_mapped_doc from frappe.model.utils import get_fetch_values -from frappe.utils import ( - add_days, - cint, - cstr, - flt, - formatdate, - get_link_to_form, - getdate, - nowdate, -) +from frappe.utils import add_days, cint, cstr, flt, formatdate, get_link_to_form, getdate, nowdate from six import iteritems import erpnext diff --git a/erpnext/controllers/accounts_controller.py b/erpnext/controllers/accounts_controller.py index 930dca82458..31af7f37449 100644 --- a/erpnext/controllers/accounts_controller.py +++ b/erpnext/controllers/accounts_controller.py @@ -38,6 +38,7 @@ from erpnext.accounts.party import ( validate_party_frozen_disabled, ) from erpnext.accounts.utils import get_account_currency, get_fiscal_years, validate_fiscal_year +from erpnext.assets.doctype.asset.depreciation import post_depreciation_entries from erpnext.buying.utils import update_last_purchase_rate from erpnext.controllers.print_settings import ( set_print_templates_for_item_table, @@ -54,7 +55,6 @@ from erpnext.stock.get_item_details import ( get_item_tax_map, get_item_warehouse, ) -from erpnext.assets.doctype.asset.depreciation import post_depreciation_entries from erpnext.utilities.transaction_base import TransactionBase