Skip to content

Commit

Permalink
chore: pre-commit check
Browse files Browse the repository at this point in the history
  • Loading branch information
khushi8112 committed Nov 18, 2024
1 parent e3d734c commit 87065d0
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions erpnext/assets/doctype/asset/asset.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ class Asset(AccountsController):
from typing import TYPE_CHECKING

if TYPE_CHECKING:
from erpnext.assets.doctype.asset_finance_book.asset_finance_book import AssetFinanceBook
from frappe.types import DF

from erpnext.assets.doctype.asset_finance_book.asset_finance_book import AssetFinanceBook

additional_asset_cost: DF.Currency
amended_from: DF.Link | None
asset_category: DF.Link | None
Expand Down Expand Up @@ -97,7 +98,20 @@ class Asset(AccountsController):
purchase_receipt: DF.Link | None
purchase_receipt_item: 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
total_asset_cost: DF.Currency
total_number_of_depreciations: DF.Int
Expand Down

0 comments on commit 87065d0

Please sign in to comment.