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
- Kirjanpito
- Varastointi
- PoS
- Project
- MRP
Tämä kysymys on merkitty
2
Vastaukset
3619
Näkymät
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.
Nautitko keskustelusta? Älä vain lue, vaan osallistu!
Luo tili jo tänään nauttiaksesi yksinoikeusominaisuuksista ja osallistuaksesi mahtavaan yhteisöömme!
RekisteröidyAiheeseen liittyviä artikkeleita | Vastaukset | Näkymät | Toimenpide | |
---|---|---|---|---|
|
2
helmik. 25
|
5972 | ||
|
1
jouluk. 24
|
1495 | ||
|
1
helmik. 24
|
1637 | ||
|
1
marrask. 22
|
16071 | ||
|
3
elok. 22
|
13125 |