chore: remove print statement

This commit is contained in:
khushi8112
2025-09-05 01:58:20 +05:30
parent 845d3464b4
commit da039e5bf0

View File

@@ -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