Replace_attributes in form

H Hi everyone,

I’m trying to extend a Tryton 7.8 wizard result view and change the root form layout from col="2" to col="4" via view inheritance. The inherited view loads without XML errors, but the layout does not change (it still behaves like col="2").

Original view:

<?xml version="1.0"?>
<form col="2">
  <label name="file"/>
  <field name="file"/>
</form>

My extension (only trying to change col):

<data>
<xpath expr="/form" position="replace_attributes">
  <form col="4"/>
  </xpath>
</data>

I tried different identification paths for the form, like:

<data>
  <xpath expr="/form[./field[@name='file']]" position="replace_attributes">
    <form col="4"/>
  </xpath>
</data>

Thanks for your help,
Regards Jakob

I suspect that either the extension is not applied on this view or that the change happens but it generate the same layout.

@ced thanks for your reply,
the view is applied to the correct one, I checked in the client, two added fields are displayed. but unfortunately not in a 1x4 but in a 2x2 grid (in both clients).
Any suggestions how to debug this a little further?

check the output XML for the view