states="done,ignore"
states="draft"
attrs="{'readonly':[('state','in',['done','ignore'])]}"
attrs="{'required':[('type','in',['sms'])],'invisible':[('type','in',['mail','chat'])]}"
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
states="done,ignore"
states="draft"
attrs="{'readonly':[('state','in',['done','ignore'])]}"
attrs="{'required':[('type','in',['sms'])],'invisible':[('type','in',['mail','chat'])]}"
You can review the Documentation to learn about that changes
Use readonly and required and invisible
You can give like this,
attrs="{
'readonly': [('state', 'in', ['done', 'ignore'])],
'required': [('type', 'in', ['sms'])],
'invisible': [('type', 'in', ['mail', 'chat'])],
'string': 'Custom Label'
}"/>
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
InscribirsePublicaciones relacionadas | Respuestas | Vistas | Actividad | |
---|---|---|---|---|
|
0
abr 24
|
901 | ||
|
1
nov 24
|
774 | ||
|
0
ene 24
|
752 | ||
|
5
oct 24
|
2266 | ||
|
5
dic 24
|
5012 |
in odoo17 attrs and states is no longer supported brother