mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
fix: test wdv method for indian region
This commit is contained in:
@@ -1030,6 +1030,7 @@ def create_asset(**args):
|
|||||||
|
|
||||||
if asset.calculate_depreciation:
|
if asset.calculate_depreciation:
|
||||||
asset.append("finance_books", {
|
asset.append("finance_books", {
|
||||||
|
"finance_book": args.finance_book,
|
||||||
"depreciation_method": args.depreciation_method or "Straight Line",
|
"depreciation_method": args.depreciation_method or "Straight Line",
|
||||||
"frequency_of_depreciation": args.frequency_of_depreciation or 12,
|
"frequency_of_depreciation": args.frequency_of_depreciation or 12,
|
||||||
"total_number_of_depreciations": args.total_number_of_depreciations or 5,
|
"total_number_of_depreciations": args.total_number_of_depreciations or 5,
|
||||||
|
|||||||
Reference in New Issue
Block a user