Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
3251 Lượt xem

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:


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhấ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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 23
2102
1
thg 9 22
8350
1
thg 6 25
1678
3
thg 7 25
3304
1
thg 5 25
1443