Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie

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?  

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
sty 25
3363
2
sie 24
5828
6
gru 22
8757
1
maj 25
6012
0
mar 24
2145