Hello. I want to have my xpath customisations to take effect depending on the value of another boolean field. In other words, is it possible to show the default view of res.partner when a boolean is checked and the inherited and customised view when the boolean isn't checked. Every answer is appreciated, thank you.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Akuntansi
- Inventaris
- PoS
- Project
- MRP
Pertanyaan ini telah diberikan tanda
Hi,
Showing or hiding the fields based on this boolean field will help ? If yes, you can easily achieve it using attrs in Odoo.
Sample: attrs="{'invisible': [('state', '!=', ('option'))]}"
Video: Conditionally Hide Fields in Odoo
Thanks
I don't think I can as I've manipulated the default fields in the view too. I think putting attrs would just make them invisible, not the way they were as default.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
|
1
Mei 22
|
3454 | ||
|
2
Agu 19
|
20026 | ||
|
1
Nov 24
|
1589 | ||
Change the Position of field in Xpath
Diselesaikan
|
|
5
Jul 24
|
92842 | |
|
1
Des 23
|
3017 |