mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
fix: test wdv method for indian region
(cherry picked from commit 7681600b5e)
This commit is contained in:
@@ -1087,6 +1087,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