Hi i have two models (item type and item with many to one relation) when i select item type as book from dropdown i need to display two fields, when i select CD from dropdown i need to display other two field. is there any way ?
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
2
Replies
3601
Tampilan
thanks for the reply can you please tell me how to make a filed invisible from the python code ?
Hi, In the above scenario you can set Onchange Method for item type field and in Onchange Method you need to set the invisibility attribute to the required fields on the selected item i.e.Book or CD.
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
DaftarPost Terkait | Replies | Tampilan | Aktivitas | |
---|---|---|---|---|
Display values of dropdown in a many2one field
Diselesaikan
|
|
2
Feb 25
|
5972 | |
|
1
Des 24
|
1495 | ||
|
1
Feb 24
|
1634 | ||
Set default value in object of many2one field
Diselesaikan
|
|
1
Nov 22
|
16071 | |
How to remove Create and Edit in many2one field.?
Diselesaikan
|
|
3
Agu 22
|
13125 |