You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

23 lines
1.1 KiB

<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<!-- Added the fields in the product template form -->
<record id="product_template_only_form_view" model="ir.ui.view">
<field name="name">product.template.form.inherit.tooltip</field>
<field name="model">product.template</field>
<field name="inherit_id" ref="product.product_template_only_form_view"/>
<field name="arch" type="xml">
<xpath expr="//field[@name='product_tooltip']" position="after">
<field name="is_need_secondary_uom" groups="uom.group_uom"/>
<field name="secondary_uom_ids"
invisible="is_need_secondary_uom == False"
groups="uom.group_uom" force_save="1">
<list name="Secondary">
<field name="secondary_uom_id"/>
<field name="secondary_uom_ratio" column_invisible="1"/>
<field name="example_ratio" force_save="1"/>
</list>
</field>
</xpath>
</field>
</record>
</odoo>