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

In odoo 16 i want to hide Archive and Unarchive button by groupwise . So i have tried like "

active = fields.Boolean(string="Active", tracking=True, default=True, groups="base.group_system")

" by python also try by xml like "


base.group_system

"  but it seems no effect on button so please help how to achive this.

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

Hi,

  Refer this  App which is in Odoo 17, 
Hide Action Archive Button

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