Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2990 มุมมอง

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

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

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


อวตาร
ละทิ้ง

in question it is mentioned that it is js/python

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ต.ค. 19
6004
1
ต.ค. 21
4259
2
ต.ค. 20
4101
3
พ.ค. 20
5288
0
ก.ค. 19
2857