mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
chore: pre-commit check
This commit is contained in:
@@ -46,9 +46,10 @@ class Asset(AccountsController):
|
|||||||
from typing import TYPE_CHECKING
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
if TYPE_CHECKING:
|
if TYPE_CHECKING:
|
||||||
from erpnext.assets.doctype.asset_finance_book.asset_finance_book import AssetFinanceBook
|
|
||||||
from frappe.types import DF
|
from frappe.types import DF
|
||||||
|
|
||||||
|
from erpnext.assets.doctype.asset_finance_book.asset_finance_book import AssetFinanceBook
|
||||||
|
|
||||||
additional_asset_cost: DF.Currency
|
additional_asset_cost: DF.Currency
|
||||||
amended_from: DF.Link | None
|
amended_from: DF.Link | None
|
||||||
asset_category: DF.Link | None
|
asset_category: DF.Link | None
|
||||||
@@ -97,7 +98,20 @@ class Asset(AccountsController):
|
|||||||
purchase_receipt: DF.Link | None
|
purchase_receipt: DF.Link | None
|
||||||
purchase_receipt_item: DF.Link | None
|
purchase_receipt_item: DF.Link | None
|
||||||
split_from: DF.Link | None
|
split_from: DF.Link | None
|
||||||
status: DF.Literal["Draft", "Submitted", "Partially Depreciated", "Fully Depreciated", "Sold", "Scrapped", "In Maintenance", "Out of Order", "Issue", "Receipt", "Capitalized", "Decapitalized"]
|
status: DF.Literal[
|
||||||
|
"Draft",
|
||||||
|
"Submitted",
|
||||||
|
"Partially Depreciated",
|
||||||
|
"Fully Depreciated",
|
||||||
|
"Sold",
|
||||||
|
"Scrapped",
|
||||||
|
"In Maintenance",
|
||||||
|
"Out of Order",
|
||||||
|
"Issue",
|
||||||
|
"Receipt",
|
||||||
|
"Capitalized",
|
||||||
|
"Decapitalized",
|
||||||
|
]
|
||||||
supplier: DF.Link | None
|
supplier: DF.Link | None
|
||||||
total_asset_cost: DF.Currency
|
total_asset_cost: DF.Currency
|
||||||
total_number_of_depreciations: DF.Int
|
total_number_of_depreciations: DF.Int
|
||||||
|
|||||||
Reference in New Issue
Block a user