mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-16 00:37:15 +00:00
style: code changes for better readability
Co-authored-by: Nabin Hait <nabinhait@gmail.com>
This commit is contained in:
@@ -301,11 +301,11 @@ def get_basic_details(args, item, overwrite_warehouse=True):
|
||||
asset_category=item.asset_category,
|
||||
company=args.company,
|
||||
)
|
||||
elif (
|
||||
args.get("doctype") == "Purchase Invoice"
|
||||
or args.get("doctype") == "Purchase Receipt"
|
||||
or args.get("doctype") == "Purchase Order"
|
||||
or args.get("doctype") == "Material Request"
|
||||
elif args.get("doctype") in (
|
||||
"Purchase Invoice",
|
||||
"Purchase Receipt",
|
||||
"Purchase Order",
|
||||
"Material Request",
|
||||
):
|
||||
from erpnext.assets.doctype.asset_category.asset_category import get_asset_category_account
|
||||
|
||||
|
||||
Reference in New Issue
Block a user