Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3473 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
6493
1
oct 21
4797
2
oct 20
4657
3
may 20
5875
0
jul 19
3342