Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

Hi, 

m trying to show/hide the control create tag under tree view but it is not working. Looks like the attrs attribute is not available in tag. Is there a way to modify this? The hide/show behavior will be based from the sale order form view checkbox field which has a related field to sale order lines.

I've done some research and 1 solution was to hide/show based from context ("invisible": context.get() != True).

Ảnh đại diện
Huỷ bỏ

I am also curious of the solution.
The <create> tag works with invisible attribute in form of
<create name="add_product_control" string="Add a product" invisible="1"/>
But none of other methods works for me so far. Could you also paste the line that works for you?

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 24
1243
4
thg 3 15
11682
1
thg 8 23
3310
4
thg 12 23
20838
0
thg 11 21
2387