Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
3308 Visualizações

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.

Avatar
Cancelar
Melhor resposta

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

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
jul. 21
2869
4
jan. 18
3479
0
dez. 23
1376
1
mai. 23
2887
1
ago. 21
6533