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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
2
回复
3635
查看
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.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
2月 25
|
5975 | ||
|
1
12月 24
|
1500 | ||
|
1
2月 24
|
1645 | ||
|
1
11月 22
|
16072 | ||
|
3
8月 22
|
13126 |