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

how can we disable update button in inventory tab in product form when log in as a non-admin user

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

Hi,

Add group to the button.

ie,

<button name="%(action_view_change_product_quantity)d" string="update"
                            type="action"
                            class="oe_link" groups="stock.group_stock_manager"/>
Ảnh đại diện
Huỷ bỏ
Tác giả

admin should enabled to update the product details

Tác giả

the non admin users should have only the read access,but the admin should have the rights to update by all means

Tác giả

groups="stock.group_stock_manager."which group do you mean?

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 3 15
3441
1
thg 1 24
14252
1
thg 8 22
5795
2
thg 3 18
5061
0
thg 1 18
3166