コンテンツへスキップ
メニュー
この質問にフラグが付けられました
7711 ビュー

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?  

アバター
破棄
関連投稿 返信 ビュー 活動
1
1月 25
3350
2
8月 24
5824
6
12月 22
8751
1
5月 25
5994
0
3月 24
2130