Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1718 Lượt xem

Good afternoon, a query do you know why duplicating a group of users does not fully provide you with the access I am referring to, for example, there is an Accounting/Billing group that has x permissions, where you can create your invoice, confirm it, send it, etc, to duplicating that group and adding another user can do everything but confirm an invoice, I can't use some accesses even though it's duplicated in a group that does work, that's my question, do you know if there is a channel to see those topics or forums or courses, please tell me. Thanks.
Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất
Hi Ray, in that case the only way to change it is by editing XML and Python, there isn't a direct way to change it through the Groups and Access Permissions option.?


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

The use of some groups (Accounting/Billing is a good example) is defined (hard coded) in XML and PYTHON:

https://github.com/odoo/odoo/blob/16.0/addons/purchase/views/res_partner_views.xml#L119

https://github.com/odoo/odoo/blob/16.0/addons/sale/models/sale_order.py#L271

The External ID of this group is "account.group_account_invoice"


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 3 25
1374
0
thg 8 25
1365
2
thg 4 23
25556
2
thg 3 22
5636
3
thg 12 20
3531