mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-25 14:11:45 +01:00
fix: set default value for as zero for additional asset cost
This commit is contained in:
@@ -518,6 +518,7 @@
|
|||||||
"read_only": 1
|
"read_only": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
"default": "0",
|
||||||
"depends_on": "eval:doc.docstatus > 0",
|
"depends_on": "eval:doc.docstatus > 0",
|
||||||
"fieldname": "additional_asset_cost",
|
"fieldname": "additional_asset_cost",
|
||||||
"fieldtype": "Currency",
|
"fieldtype": "Currency",
|
||||||
@@ -596,7 +597,7 @@
|
|||||||
"link_fieldname": "target_asset"
|
"link_fieldname": "target_asset"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"modified": "2025-05-20 00:44:06.229177",
|
"modified": "2025-10-23 22:43:33.634452",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Assets",
|
"module": "Assets",
|
||||||
"name": "Asset",
|
"name": "Asset",
|
||||||
|
|||||||
@@ -69,6 +69,7 @@ class Asset(AccountsController):
|
|||||||
default_finance_book: DF.Link | None
|
default_finance_book: DF.Link | None
|
||||||
department: DF.Link | None
|
department: DF.Link | None
|
||||||
depr_entry_posting_status: DF.Literal["", "Successful", "Failed"]
|
depr_entry_posting_status: DF.Literal["", "Successful", "Failed"]
|
||||||
|
depreciation_completed: DF.Check
|
||||||
depreciation_method: DF.Literal["", "Straight Line", "Double Declining Balance", "Manual"]
|
depreciation_method: DF.Literal["", "Straight Line", "Double Declining Balance", "Manual"]
|
||||||
disposal_date: DF.Date | None
|
disposal_date: DF.Date | None
|
||||||
finance_books: DF.Table[AssetFinanceBook]
|
finance_books: DF.Table[AssetFinanceBook]
|
||||||
|
|||||||
Reference in New Issue
Block a user