With the new views in owl, we wrapped every field in a div with the class o_field_widget. This is a good thing in general, but it has the issue that before this commit, the display property was set to inline-block, in all cases. With this commit, we set it to 'contents', which means that it will simply get the correct display value from its content. Part-of: odoo/odoo#96865