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

Hi, 


I need the "add a line" button on top of the tree within a form.

How can I achieve this?

Thank you

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi,

You can use the attribute editable='top' in your tree view

example:

<tree string="Order" editable="top">
         <field name="name"/>
         <field name="model_id"/>
   </tree>

Hope it helps

Ảnh đại diện
Huỷ bỏ
Tác giả

does not work if the tree is inside a form

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
2444
2
thg 7 25
7902
2
thg 7 25
4310
2
thg 7 25
4058
2
thg 6 25
2659