In erpnext, there are module landing page with links ex.
I am looking for ways to customize links in accounts.py (or for that case any /config/<module.py>)
It has to be done using custom app.
Question is are there any events in hooks.py to achieve this. Thanks!!!
March 7, 2018, 5:06am
In the meantime maybe you can do it manually, as discussed here:
Customizing ERPNext user interface - #14 by rahy
At present, solution is to put required links in custom app config
i.e. apps/your_app_name/your_app_name/config/your_app_name.py inside that you may put links of any module
from frappe import _
"name": "Sales Invoice",
"description": _("Bills raised to Customers.")
May 24, 2018, 12:11pm
I didn’t see this file in the location.
Now only have desktop.py and docs.py, do I need to create it manually ?
yes your_app_name.py needs to be created manually
May 24, 2018, 12:18pm
I have a custom page name page_a , can have example code to showing the LINK to this page at custom app name app_a and doctype_a ?
Your question is not clear to me. If your are looking for example code it is already there
May 30, 2018, 8:14am
Creating a same-name py for a module will add items in the frappe/erpnext config, not replace.
How to replace all content of a module config file?