diff --git a/erpnext/assets/doctype/asset_depreciation_schedule/depreciation_methods.py b/erpnext/assets/doctype/asset_depreciation_schedule/depreciation_methods.py index daa3f0b0918..1b235b1fa78 100644 --- a/erpnext/assets/doctype/asset_depreciation_schedule/depreciation_methods.py +++ b/erpnext/assets/doctype/asset_depreciation_schedule/depreciation_methods.py @@ -77,7 +77,7 @@ class StraightLineMethod(Document): class WDVMethod(Document): @erpnext.allow_regional def get_wdv_or_dd_depr_amount(self, row_idx): - return self.calculate_wdv_or_dd_based_depreciation_amount(row_idx) + return WDVMethod.calculate_wdv_or_dd_based_depreciation_amount(self, row_idx) @staticmethod def calculate_wdv_or_dd_based_depreciation_amount(self, row_idx):