Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged

Odoo 13 - sale.order.line

I have fields in a tree view:

<field name="field1" optional="hide"/>

<field name="field2" optional="hide"/>

<field name="field3" optional="hide"/>

<field name="select" optional="show"/>


When I make a selection in the field "select", I want set field1, field2, & field3 to "show" using @api.onchange('select') in the model.


How do I do that in the model?  

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jan. 25
3402
2
avg. 24
5841
6
dec. 22
8813
1
maj 25
6087
0
mar. 24
2184