Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2988 Vistas

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

Avatar
Descartar
Mejor respuesta

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

Publicaciones relacionadas Respuestas Vistas Actividad
1
oct 19
6004
1
oct 21
4259
2
oct 20
4100
3
may 20
5285
0
jul 19
2855