Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1192 Vizualizări
<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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mai 25
832
2
nov. 24
2346
1
iul. 24
1352
0
oct. 23
1137
1
iun. 23
1931