Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
1190 Widoki
<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

Awatar
Odrzuć
Autor Najlepsza odpowiedź

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

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
maj 25
831
2
lis 24
2341
1
lip 24
1351
0
paź 23
1136
1
cze 23
1930