İçereği Atla
Menü
Bu soru işaretlendi
7958 Görünümler

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Oca 25
3763
2
Ağu 24
6009
6
Ara 22
9058
1
May 25
6540
0
Mar 24
2551