Also, the config folder appears to contain the required config files (like I mentioned in my original post), hence they are not missing and each module have their configs (including accounts for example).
About the library management app, I have created the necessary config file as per the tutorials as shown below. Isn’t this the compatible format for v12 ?
#...../library_management/library_management/config/library_management.py
from __future__ import unicode_literals
from frappe import _
def get_data():
return [
{
"label":_("Library"),
"icon": "octicon octicon-briefcase",
"items": [
{
"type": "doctype",
"name": "Article",
"label": _("Article"),
"description": _("Articles which members issue and return."),
},
{
"type": "doctype",
"name": "Library Member",
"label": _("Library Member"),
"description": _("People whohave enrolled for membership in the library."),
},
{
"type": "doctype",
"name": "Library Membership",
"label": _("Library Membership"),
"description": _("People who have taken membership for the library"),
},
{
"type": "doctype",
"name": "Library Transaction",
"label": _(""),
"description": _("Issuing an article or returning an article are the transactions taking place."),
}
]
}
]
Or does v12 only use the json formats in the accounting example you gave above ? It there a documentation relating to this and can you please provide it ?
Or do I have to explicitly create “desk_page/app_name/app_name.json” fro v12 ?
I think I have a solution. The problem seems to be in the v12 patch, there is a command to change the default homepage to a ‘workspace’ instead of ‘desktop’, for reasons that are beyond me.
I had this exact issue. After switching from develop branch to version-12 there was nothing on the desk at all. Your solution was what got it to work. The only thing I would add is that I had to enter the commands as below.
This is also very important. I had to learn this down the line. Thanks for the tip. Why are there no extensive tutorials on these concepts ? I’ve read the desk tutorials multiple times. But, it doesn’t cover these concepts. It is pretty discouraging.
hi, i had a similar problem, i have created one script report and i want to add that report in reports list of accounts module section.
I have gone through the post regarding this, added code in erpnext/config/account.py file but no use it is not reflecting in accounts module desk page, please help me out to solve this. Thank You
For V12 sometimes I find that a reboot of the server helps with this issue… that is of course after you’ve confirmed that all the files are properly in place as described in various posts above
Stay positive and inspired - certainly this is an ambitious community driven product, that works and grows provided folks give back. Frappe alone cannot be expected to shoulder all the effort. So whatever you are passionate about, say to document, consider contributing to that effort…
I had the same problem, some users didn’t saw the modules that they should have access and I solved it with editing the database - table tabUser - column home_settings
For Administrator it should be:
{“modules_by_category”: {“Modules”: [“Getting Started”, “Accounts”, “Selling”, “Buying”, “Stock”, “Assets”, “Projects”, “CRM”, “Support”, “HR”, “Quality Management”]}, “hidden_modules”: []}
After that commit and restart the ERP and then you can edit the user from “allowed modules” again.