Hello I would like to know is there an attribute that allows me to block a field after another is written, that is, it is not written in it if another is true
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Projet
- MRP
Cette question a été signalée
1
Répondre
4288
Vues
Hi,
You can make it read only based on the condition: attrs="{'readonly': [('another_field', '=', False)]}"
Thanks
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é | |
|---|---|---|---|---|
|
|
3
mai 24
|
7247 | ||
|
|
2
mai 24
|
4858 | ||
|
|
1
sept. 15
|
6083 | ||
|
|
3
mars 15
|
16952 | ||
|
|
3
mai 25
|
3333 |