fix: test wdv method for indian region

(cherry picked from commit 7681600b5e)
This commit is contained in:
Saqib
2021-11-02 17:47:44 +05:30
committed by mergify-bot
parent a424f55943
commit 2a6d202061

View File

@@ -1087,6 +1087,7 @@ def create_asset(**args):
if asset.calculate_depreciation:
asset.append("finance_books", {
"finance_book": args.finance_book,
"depreciation_method": args.depreciation_method or "Straight Line",
"frequency_of_depreciation": args.frequency_of_depreciation or 12,
"total_number_of_depreciations": args.total_number_of_depreciations or 5,