Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3331 Vistas

Hi there,

I'm just trying to relocate fields "type" & "list_price" in product to the right column at the very end under the EAN13 or Reference code.

"<record id="product_template_form_view" model="ir.ui.view">

<field name="name">product.template.form</field>

<field name="model">product.template</field>

<field name="arch" type="xml">

<field name="ean13" position="after">

<field name="type" string="Product Type"/>

<field name="list_price" string="Sale Price"/>

</field>

</field>

</record>"

But this won't work, can  you help me with ?

Avatar
Descartar
Mejor respuesta

Try this; I am not an expert but it theway I have added new fields in a right column

<group colspan="4">

<group>

<field name="ean13" position="after">

<field name="type" string="Product Type"/>

<field name="list_price" string="Sale Price"/>

</group>

</group>

Avatar
Descartar
Autor

... nope, doesn't work either because there is something else wrong. record name ? I can't find where the problem is

Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 17
4506
7
nov 15
14182
2
jun 25
1881
1
dic 24
2480
3
abr 24
3739