Skip to Content
Menú
This question has been flagged
1 Respondre
3048 Vistes

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

Avatar
Descartar
Best Answer

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

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


Avatar
Descartar

in question it is mentioned that it is js/python

Related Posts Respostes Vistes Activitat
1
d’oct. 19
6041
1
d’oct. 21
4324
2
d’oct. 20
4147
3
de maig 20
5341
0
de jul. 19
2898