hi its my first topic but not the last
i am trying to customize icon app, the changes made in hooks.py or config/desktop.py does not appear on the desk icon. the customization work only at the app creation step (bench new-app) but not after.
app_icon = “octicon octicon-file-directory”
app_color = “grey”
app_icon = “octicon octicon-watch”
app_color = “red”
note: i tried bench clear-cache but nothing.
reading from: https://frappe.github.io/frappe/user/en/guides/app-development/custom-module-icon
@Amalendu thanks its work
just last question, how to use svg icon instead of octicons ?
i followed the documentations of the provided link, i have set config/desktop.py “icon”: “assets/flowchart.svg” and then created asses folder with flowchart icon inside the doctype folder then bench migrate results like this:
Can you check in your browser that the svg file comes using the url
“your base url/assets/flowchart.svg”
thanks for reply.
http://meeting.dev:8000/assets/flowchart.svg gives not found error
i dont know where i should put the svg file .
Edit: just moved the svg file to sites/assets and it works fine, thanks amalendu
I created a module form erpnext itself. But i am Not able to set icon for this on desktop.