Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option
Cette question a été signalée
1
Répondre
4636
Vues
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
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire| Publications associées | Réponses | Vues | Activité | |
|---|---|---|---|---|
|
|
1
oct. 19
|
7846 | ||
|
|
1
oct. 21
|
5924 | ||
|
|
2
oct. 20
|
6348 | ||
|
|
3
mai 20
|
7347 | ||
|
|
0
juil. 19
|
4638 |