Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
3002 Vues

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

Avatar
Ignorer
Meilleure réponse

Hello,

options="{'no_create_edit': True}"

Add this in xml inside many2one field

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


Avatar
Ignorer

in question it is mentioned that it is js/python

Publications associées Réponses Vues Activité
1
oct. 19
6014
1
oct. 21
4278
2
oct. 20
4113
3
mai 20
5304
0
juil. 19
2863