Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
3209 Visninger

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
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
jan. 23
2051
1
sep. 22
8290
1
jun. 25
1555
3
jul. 25
3220
1
maj 25
1371