콘텐츠로 건너뛰기
메뉴
신고된 질문입니다
1 회신
3315 화면

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
2877
4
1월 18
3497
0
12월 23
1394
1
5월 23
2899
1
8월 21
6563