İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
1175 Görünümler
<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
Vazgeç
Üretici En İyi Yanıt

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

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
May 25
820
2
Kas 24
2309
1
Tem 24
1341
0
Eki 23
1132
1
Haz 23
1921