如何调整odoo列表视图默认宽度

我用的是odoo18,我想自定义列表视图的宽度,在列表视图的xml文件中写了style不起作用,请问有人有正确有效的解决方案吗?

用width

<field name="create_date" string='提交时间' optional="show" width="220px;"/>

这么写就行

1 个赞