Skip to Content
Menú
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
Descartar
Related Posts Respostes Vistes Activitat
1
de gen. 25
3545
2
d’ag. 24
5902
6
de des. 22
8893
1
de maig 25
6228
0
de març 24
2313