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

I am using V14 with the new adjustable column widths in list view.   This is great except anytime I enter the form or make a change on the list view my column widths revert back to their default widths hiding some of my data.  Has anyone found a way to set the column widths and have them stay in V14?  

아바타
취소
베스트 답변

Hello Doug
to set column width permanent you can use width attribute in you column and set value according to your requirement.
Ex:
<field name="name" width="200px"/>
Thanks.

아바타
취소
작성자

Hello Husain

Thank you for your response. I tried to add the width attribute in the xml for the list view but it didn't seem to have an impact. Here is an example of what I tried.

<data>

<xpath expr="//field[@name='partner_id']" position="replace">

<field name="x_studio_glazing_included" groups="base.group_multi_currency"/>

<field name="x_studio_distressing_included" groups="base.group_multi_currency"/>

<field name="x_studio_designer_notes"/>

</xpath>

<xpath expr="//field[@name='user_id']" position="replace">

<field name="x_studio_room_name" width="200px"/>

<field name="x_studio_ready_for_scheduling" width="20000px" widget="toggle_button" groups="sale.group_warning_sale,account.group_warning_account,account_accountant.group_fiscal_year,purchase.group_warning_purchase"/>

Is the attribute suppose to be added somewhere else?

Thanks