From 941f8824e5f31f42b0f54182d790e8178c9511ab Mon Sep 17 00:00:00 2001 From: Nabin Hait Date: Thu, 25 Jan 2024 11:40:44 +0530 Subject: [PATCH] fix: linter issue --- erpnext/assets/doctype/asset/asset.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/erpnext/assets/doctype/asset/asset.py b/erpnext/assets/doctype/asset/asset.py index b90bf19b429..3fcb9720dd1 100644 --- a/erpnext/assets/doctype/asset/asset.py +++ b/erpnext/assets/doctype/asset/asset.py @@ -392,7 +392,9 @@ class Asset(AccountsController): if skip_row: continue - schedule_date = add_months(finance_book.depreciation_start_date, n * cint(finance_book.frequency_of_depreciation)) + schedule_date = add_months( + finance_book.depreciation_start_date, n * cint(finance_book.frequency_of_depreciation) + ) if not current_fiscal_year_end_date: current_fiscal_year_end_date = get_fiscal_year(finance_book.depreciation_start_date)[2] elif getdate(schedule_date) > getdate(current_fiscal_year_end_date):