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'
}"/>
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
|
0
Apr 24
|
1475 | |||
|
1
Nov 24
|
1216 | |||
|
0
Jan 24
|
1252 | |||
|
5
Okt 24
|
2987 | |||
|
How to integrate recaptcha in odoo contact us form
Diselesaikan
|
5
Des 24
|
6749 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.
in odoo17 attrs and states is no longer supported brother