콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5941 화면

Hello

is there a way to center align columns in tree view or list view? also would be useful if I could bold some columns, any pointers with this is much appreciated, thanks!


using v15.


아바타
취소
베스트 답변

Hello Mike,

Please find below code it may help you,

This class class="text-center" may be used for text alignment. It will assist you align text in the centre.

You may use the class class="font-weight-bold" to make a bold field. Use this class in a specific field that you want to be bold. 

Find Code in Comment. 

Thanks & Regards,
Email: odoo@aktivsoftware.com
Skype: kalpeshmaheshwari

아바타
취소

You may use the class class="text-center" to make an alignment of number field too.

Please see the code below as an example.

<tree string="Repair Order" class="text-center">
<field name="name" class="font-weight-bold"/>
<field name="partner_id"/>
<field name="amount" class="text-center"/>
</tree>

관련 게시물 답글 화면 활동
1
4월 23
134
1
2월 23
3485
0
1월 23
3378
1
1월 22
6134
1
6월 25
1188