Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

Can we make restriction to the option "Reset to draft" and "Cancel" in the Sales Order and Invoice in the related forms.

Can it be restricted to a User Groups or by User level?

Please help me with the solution or the work around.

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

You can show button to particular User group.

You should just add the attribute 'groups' to the xml view. For example, to show the button only for admins:

groups="base.group_erp_manager"

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 20
5104
1
thg 10 17
3982
1
thg 6 25
2529
2
thg 3 24
2565
1
thg 7 23
1756