跳至內容
選單
此問題已被標幟
1 回覆
3085 瀏覽次數

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:


頭像
捨棄
最佳答案

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

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
1月 23
1960
1
9月 22
8146
1
6月 25
1175
3
7月 25
2908
1
5月 25
1095