跳至內容
選單
此問題已被標幟
1 回覆
7184 瀏覽次數

I would like to know where I can locate the list of user groups. For example, a user with permission to apply "invoice" in "Accounting and Finance" belongs to the group "account.group_account_invoice". I want to know the other groups of the other odoo modules.

I need the technical name of any group. For example, For group "Accounting and invoicing / invoicing" (on Settings/Users/Groups), the technical name is "account.group_account_invoice" which is used on xml code on "account.invoice.form" view. I need to change the visibility of Validate Button so only the group "Accounting and invoicing/invoicing manager" see it, but I don't know it technical name.

頭像
捨棄
最佳答案

Hi,

If you are looking how to get the technical name of a user group in odoo, what you can do is that, activate the developer mode and navigate to Settings -> Users & Companies -> Groups, from here open the group of which you need to get the external_id/technical name, once the record is opened click the debugger button near the logged in users name in the menu bar and click the View Metadata, then in the opening wizard you can see a value with label XML ID, this is the external id / technical name.

See how the external id of the menu is taken in this video : Get External ID of the Menu in Odoo


Thanks

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
4
4月 23
10963
0
10月 21
2432
2
1月 25
1395
0
7月 24
3
1
11月 22
2140