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

How to hide the full row from the tree view.

I can hide the field using attrs tag but I want to hide the full row of the tree view.

アバター
破棄
最善の回答

Hi,

You can hide rows of a tree by adding a domain on the ir.actions.act_window

<record model="ir.actions.act_window" id="id_name">


      <field name="name">name</field>


      <field name="res_model">res.model</field>


      <field name="domain">[('state', '=', 'cancel')]</field>


      <field name="view_mode">tree,form</field>


</record>


Regards

アバター
破棄
関連投稿 返信 ビュー 活動
1
7月 21
2874
4
1月 18
3496
0
12月 23
1391
1
5月 23
2898
1
8月 21
6557