Added finance book in Asset Depreciation Ledger report, fixed asset issue

This commit is contained in:
Rohit Waghchaure
2018-05-17 23:29:37 +05:30
parent 967d04ed0d
commit f689d01a0c
8 changed files with 92 additions and 31 deletions

View File

@@ -140,6 +140,8 @@ class Asset(AccountsController):
if d.depreciation_method in ("Straight Line", "Manual"):
days = date_diff(schedule_date, from_date)
if n == 0: days += 1
depreciation_amount = days * rate_per_day
from_date = schedule_date
else: