Skip to Content
Menu
This question has been flagged
2 Replies
1164 Views
<odoo>

<record id="module_category_accounting_dashboards" model="ir.module.category">

<field name="name">Accounting Dashboards</field>

<field name="parent_id" ref="base.module_category_accounting"/>

</record>

<record id="group_accounting_dashboard_all" model="res.groups">

<field name="name">All Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_sales" model="res.groups">

<field name="name">Sales Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_purchases" model="res.groups">

<field name="name">Purchase Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_cash" model="res.groups">

<field name="name">Cash Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_bank" model="res.groups">

<field name="name">Bank Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_cash_bank" model="res.groups">

<field name="name">Cash &amp; Bank Journals</field>

<field name="implied_ids" eval="[(4,ref('group_accounting_dashboard_cash'),0),(4,ref('group_accounting_dashboard_bank'),0)]"/>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_misc" model="res.groups">

<field name="name">Misc Journals</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>

<record id="group_accounting_dashboard_no_dashboard" model="res.groups">

<field name="name">None</field>

<field name="category_id" ref="mits_account_dashboard.module_category_accounting_dashboards"/>

</record>


<record id="account.group_account_readonly" model="res.groups">

<field name="implied_ids" eval="[(4,ref('mits_account_dashboard.group_accounting_dashboard_no_dashboard'),0)]"/>

</record>


</odoo>

Code above is to add groups but the groups only show in User Access rights tab  when in dev mode.  How do I make it show in non-dev mode?

Using Odoo16

Avatar
Discard
Author Best Answer

This does not work.  There is no field in res.groups called "application". 

Avatar
Discard
Best Answer

Hello Milwell Information Technology Services,

I Hope you are doing well,

​​Here is your answer Add the <field name="application" eval="True"/> field to each res.groups record ​that ​you want to display ​in non-developer mode.

Hope this information helps you.

Thanks & Regards,
Kunjan Patel

Avatar
Discard
Related Posts Replies Views Activity
1
May 25
813
2
Nov 24
2294
1
Jul 24
1334
0
Oct 23
1129
1
Jun 23
1916