Can we specify 'no create and edit' option in action(js/py) for a many2one field? How can we pass this option
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
1
Répondre
3002
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'inscrirePublications 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 |