Hallo im on frappe framework version
Framework: v15.x.x-develop () (develop)
I have having trouble this case for like 3 days
My goal is to add my custom app icon to sidebar (Left top) dropdown
My custom app name is oims
What have I done?
- Add/uncomment this code on apps/oims/oims/hooks.py
app_name = "oims"
app_title = "Oims"
app_publisher = "Wahyu Triono"
app_description = "Orecon Integrated Management System"
app_email = "whytrno@gmail.com"
app_license = "mit"
app_logo_url = "/assets/oims/images/frappe-hr-logo.svg"
app_home = "/app/hr"
# Apps
# ------------------
# required_apps = []
# Each item in the list will be shown as an app in the apps page
add_to_apps_screen = [
{
"name": "oims",
"logo": "/assets/oims/images/frappe-hr-logo.svg",
"title": "Oims",
"route": "/app/oims",
# "has_permission": "oims.api.permission.has_app_permission"
}
]
website_route_rules = [
{"from_route": "/app/oims/oims", "to_route": "oims"},
]
- Add new file (desktop.py) on apps/oims/oims/config/desktop.py and add this code
from frappe import _
def get_data():
return [
{
"module_name": "oims",
"category": "Modules",
"label": _("Oims"),
"color": "#589494",
"icon": "octicon octicon-book",
"type": "module",
"description": "Oims"
}
]
- Add new file (oims.py) on apps/oims/oims/config/oims.py and add this code
from frappe import _
def get_data():
return [
{
"label": _("Oims"),
"icon": "octicon octicon-book",
"items": [
{
"type": "doctype",
"name": "Karyawan",
"label": _("Karyawan"),
"description": _("Manage Books"),
"onboard": 1,
},
]
}
]
- Have explored the documentation, related discussions, and used ai
Anyone can help me?