İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
3204 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 23
2049
1
Eyl 22
8287
1
Haz 25
1545
3
Tem 25
3216
1
May 25
1367