mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 16:48:30 +00:00
fix: linter issue
This commit is contained in:
@@ -392,7 +392,9 @@ class Asset(AccountsController):
|
|||||||
if skip_row:
|
if skip_row:
|
||||||
continue
|
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:
|
if not current_fiscal_year_end_date:
|
||||||
current_fiscal_year_end_date = get_fiscal_year(finance_book.depreciation_start_date)[2]
|
current_fiscal_year_end_date = get_fiscal_year(finance_book.depreciation_start_date)[2]
|
||||||
elif getdate(schedule_date) > getdate(current_fiscal_year_end_date):
|
elif getdate(schedule_date) > getdate(current_fiscal_year_end_date):
|
||||||
|
|||||||
Reference in New Issue
Block a user