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

I need to customize the sale_view, inserting 20 horizontal column quantity in the order. I tried to use the group tag. A group is a grid with two columns. A field and its label take two columns, so adding fields inside a group will have them stacked vertically. If we nest two group elements inside a top group, we will be able to get two columns of fields with labels, side by side. But i need 20 column, How can manage it?

Thanks

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

You do that by add col attribute to the group like:

<group col='20'>

...

</group>

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

I am having same issue. And I am new to odoo but understanding nothing. 
I want more than 2 columns in my form. But it seams that odoo offers only 2 columns at a time. How to tackle this issue.   

Kindly help me out. 

Regards
Makhdoom Abubakar

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

It works.

Thanks!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
V17 Tree, Form view Đã xử lý
1
thg 3 25
1035
2
thg 2 25
1809
2
thg 12 24
1541
2
thg 5 24
1838
1
thg 9 23
4598