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

Hi all, In the view, we're having field like below:

<field name="product_uom" groups="product.product_uom">

I'm wondering where can we know/ get information about the groups = 'product.product_uom'?

I have a field in my view and I'd like to display the field for (purchase) manger role only. Otherwise, the field will be invisible.

Can anyone help to implement this?

Thank you.

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

In your OpenERP client, go to Settings -> Users -> Groups where all groups are listed.

Thanks

Sreedath

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

all the groups are defined in (module_name)->security->(module_name)_security.xml

Ảnh đại diện
Huỷ bỏ