In the process of modifying a form view on OpenERP7 through inheritance, I am attempting to adjust the width of a field to 50% (currently at 40%). While I have successfully altered the style and width of the field using pixels, any attempt to input a percentage results in an error. Here is my code:
<xpath expr="/form//field[@name='name']" position="attributes">
<attribute name="style">width: 50%;</attribute>
</xpath>
Despite trying various solutions, changing '%' to 'px' allows the modifications to take effect without errors.
It's worth noting that in the original form's code, percentages are present in the styles and function correctly.
If anyone has a solution to this issue, your assistance would be greatly appreciated! Thank you.