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

Hi,

how can remove Create and edit option from any Many2one relation eg: I want to remove create/edit option of selecting partner_id from every form and one2many fields. which methodology do I have to adopt

Thanks In Advance

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

Hi,

You can refer the following free community app for the above requirement

web_m2x_options

Regards

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

Hi Rijo:

I don't think there is any central place to do this. You will have to customize each of the forms/lists where the field appears and add a ​ options="{'no_create': True} attribute to the field using view inheritance. 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 9 19
5163
1
thg 4 20
5583
4
thg 12 19
4139
1
thg 12 19
13626
2
thg 8 19
4748