mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 21:42:11 +00:00
@@ -889,7 +889,7 @@ class TestDepreciationMethods(AssetSetup):
|
|||||||
["2030-12-31", 28630.14, 28630.14],
|
["2030-12-31", 28630.14, 28630.14],
|
||||||
["2031-12-31", 35684.93, 64315.07],
|
["2031-12-31", 35684.93, 64315.07],
|
||||||
["2032-12-31", 17842.46, 82157.53],
|
["2032-12-31", 17842.46, 82157.53],
|
||||||
["2033-06-06", 5342.46, 87499.99],
|
["2033-06-06", 5342.47, 87500.00],
|
||||||
]
|
]
|
||||||
|
|
||||||
schedules = [
|
schedules = [
|
||||||
|
|||||||
@@ -344,7 +344,7 @@ class AssetDepreciationSchedule(Document):
|
|||||||
date_of_disposal,
|
date_of_disposal,
|
||||||
original_schedule_date=schedule_date,
|
original_schedule_date=schedule_date,
|
||||||
)
|
)
|
||||||
|
depreciation_amount = flt(depreciation_amount, asset_doc.precision("gross_purchase_amount"))
|
||||||
if depreciation_amount > 0:
|
if depreciation_amount > 0:
|
||||||
self.add_depr_schedule_row(date_of_disposal, depreciation_amount, n)
|
self.add_depr_schedule_row(date_of_disposal, depreciation_amount, n)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user