mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-19 23:05:12 +00:00
chore: remove print statement
This commit is contained in:
@@ -369,7 +369,7 @@ class AssetDepreciationSchedule(Document):
|
||||
original_schedule_date=schedule_date,
|
||||
)
|
||||
depreciation_amount = flt(depreciation_amount, asset_doc.precision("gross_purchase_amount"))
|
||||
|
||||
|
||||
if depreciation_amount > row.value_after_depreciation - row.expected_value_after_useful_life:
|
||||
depreciation_amount = row.value_after_depreciation - row.expected_value_after_useful_life
|
||||
|
||||
@@ -658,7 +658,7 @@ def _get_pro_rata_amt(
|
||||
total_days = get_total_days(original_schedule_date or to_date, 12)
|
||||
else:
|
||||
total_days = get_total_days(original_schedule_date or to_date, row.frequency_of_depreciation)
|
||||
print(total_days, days, depreciation_amount)
|
||||
|
||||
return (depreciation_amount * flt(days)) / flt(total_days), days, months
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user