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

Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option

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

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

Ex.
<field name="m2o_field" options="{'no_create_edit': True}"/>


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

in question it is mentioned that it is js/python

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 19
6016
1
thg 10 21
4281
2
thg 10 20
4117
3
thg 5 20
5306
0
thg 7 19
2863