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

Image Preview

i want to adjust div how i can ? 

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

Odoo views and reports are built on top of the bootstrap framework and use its grid system. Please learn about the bootstrap grid system and then use the appropriate classes by inheriting the corresponding QWeb view.

Idea (without knowing your xml-Code to identify and manipulate the proper div element):

<xpath expr="//address[@t-field='o.partner_id']/.." position="attributes">
<attribute name="class">col-xs-5 col-xs-offset-7</attribute>
</xpath>

This should give you the direction.

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

For a proper answer you have to provide the QWeb code for the div you want to manipulate.

Câu trả lời hay nhất

Please post the qweb xml code for clear and accurate answer 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 8 23
1664
3
thg 6 20
5571
1
thg 1 20
5996
5
thg 9 19
4973
0
thg 10 24
1610