Merge pull request #39439 from nabinhait/test-case-fix-asset-depr

fix: test for asset depreciation
This commit is contained in:
Nabin Hait 2024-01-17 21:54:55 +05:30 committed by GitHub
commit f453aaeab0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -764,17 +764,14 @@ def get_wdv_or_dd_depr_amount(
has_wdv_or_dd_non_yearly_pro_rata,
asset_depr_schedule,
):
return (
get_default_wdv_or_dd_depr_amount(
asset,
fb_row,
depreciable_value,
schedule_idx,
prev_depreciation_amount,
has_wdv_or_dd_non_yearly_pro_rata,
asset_depr_schedule,
),
None,
return get_default_wdv_or_dd_depr_amount(
asset,
fb_row,
depreciable_value,
schedule_idx,
prev_depreciation_amount,
has_wdv_or_dd_non_yearly_pro_rata,
asset_depr_schedule,
)