Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
3172 Ansichten

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
Verwerfen
Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
0
Jan. 23
2021
1
Sept. 22
8258
1
Juni 25
1413
3
Juli 25
3110
1
Mai 25
1253