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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
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
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Prijavi