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

I have added a column in the stock.picking tree view (Inventory overview) with the dropship 'destination customer'.



            <xpathexpr="//field[@name='partner_id']"position="after">                <fieldname="is_dropship"invisible="1"/>                       <fieldname="dropship_destination_id"                options="{'no_create': True}"                string="Dropship to"                optional="show"                attrs="{'invisible':[('is_dropship', '=', False)]}"/>            xpath>



I would like to show this field (column) only in the tree views for 'Operation Type: Dropship'. 

So when this filter is present:


Avatar
Cancelar
Melhor resposta

Hello Jaco Waes,

It is not possible in odoo to hide the field in the list based on the domain or context of a field.

This may help you.

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
jan. 23
1955
1
set. 22
8132
1
jun. 25
1167
3
jul. 25
2898
1
mai. 25
1082