fix: depreciation amount on selling an asset
This commit is contained in:
parent
60bfead773
commit
0bbde4819b
@ -375,7 +375,9 @@ class Asset(AccountsController):
|
||||
|
||||
if from_date:
|
||||
return from_date
|
||||
return self.available_for_use_date
|
||||
|
||||
# since depr for available_for_use_date is not yet booked
|
||||
return add_days(self.available_for_use_date, -1)
|
||||
|
||||
# if it returns True, depreciation_amount will not be equal for the first and last rows
|
||||
def check_is_pro_rata(self, row):
|
||||
|
Loading…
x
Reference in New Issue
Block a user