Relation between Doctypes, Workspace Sidebars and Modules

Has anybody else encounted some problems/confusion around the sidebar display for certain doctypes in v16? I just upgraded my dev environment form v15 to v16 and have run into some bugs or unexpected behaviors:

  • some icons on the desktop were not working: they seemed to correspond to workspaces that existed in v15 and were deleted in v16, namely Payables, Receivables, ERPNext Integrations and Tools. Each of those icons had an associated Workspace Sidebar and these seemed to cause problems. I hid the icons and deleted the sidebars and that seemed to help.
  • if I open the Company list using the search box, the list shows up but the sidebar doesn’t get updated, whereas for most doctypes, the corresponding workspace shows up (opening the Item list brings up the Selling sidebar, for instance).

Does anyone know what determines what sidebar should show up when working with a given Doctype? I can’t quite tell whether it has something to do with the module to which the Doctype is assigned, or if it depends on whether there’s a Workspace Sidebar that contains link to that Doctype. I understand some of the above behavior may be down to a bug (there’s a few related issues in GitHub), but I’d still like to understand the logic involved here.

I’d also like to better understand the relationship between Workspaces and Workspace Sidebars. It’s not clear whether there’s an explicit link between them, and I haven’t found any related documentation.

2 Likes

That’s the explanation the whole community has been waiting for :sweat_smile:

I still don’t understand how icons and sidebars are customized on a per-user basis (a very simple concept in v15 or the early stages of v16, with public and per-user settings).

2 Likes

Accounting workspace seems broken - it opens a window with other icons - instead of links in the frappe sidebar….UI is not consistent in that way.

If you mean the icon that shows up on the desk when you first log in: yes, it looks like Accounting is an icon group rather than a simple icon. Clicking it brings up a bunch of icons for various sub-workspaces (Invoicing, Payments, etc.) and there doesn’t seem to be a workspace named Accounting. That seems intentional, though maybe not ideal. (The Accounts Setup workspace may be the closest thing to an Accounting workspace?)