fix: test wdv method for indian region

This commit is contained in:
Saqib 2021-11-02 17:47:44 +05:30 committed by GitHub
parent f047c6ffc8
commit 7681600b5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1030,6 +1030,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,