33 lines
1.3 KiB
XML
33 lines
1.3 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<odoo>
|
||
|
|
||
|
<record id="product_attribute_line_form" model="ir.ui.view">
|
||
|
<field name="name">product.attribute.line.form.inherit</field>
|
||
|
<field name="model">product.attribute.line</field>
|
||
|
<field name="inherit_id" ref="product.product_attribute_line_form"/>
|
||
|
<field name="priority" eval="8"/>
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//field[@name='value_ids']/tree/field[@name='name']" position="after">
|
||
|
<field name="html_color"/>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
<record id="product_attribute_view_form" model="ir.ui.view">
|
||
|
<field name="name">product.attribute.form.inherit</field>
|
||
|
<field name="model">product.attribute</field>
|
||
|
<field name="inherit_id" ref="product.product_attribute_view_form"/>
|
||
|
<field name="priority" eval="8"/>
|
||
|
<field name="arch" type="xml">
|
||
|
<xpath expr="//group[@name='main_fields']" position="after">
|
||
|
<group>
|
||
|
<field name="type"/>
|
||
|
</group>
|
||
|
</xpath>
|
||
|
<xpath expr="//field[@name='value_ids']/tree/field[@name='name']" position="after">
|
||
|
<field name="html_color"/>
|
||
|
</xpath>
|
||
|
</field>
|
||
|
</record>
|
||
|
|
||
|
</odoo>
|