Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 145 KiB |
Before Width: | Height: | Size: 149 KiB After Width: | Height: | Size: 154 KiB |
Before Width: | Height: | Size: 136 KiB After Width: | Height: | Size: 140 KiB |
Before Width: | Height: | Size: 138 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 152 KiB After Width: | Height: | Size: 156 KiB |
Before Width: | Height: | Size: 144 KiB After Width: | Height: | Size: 145 KiB |
@ -1,10 +1,10 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<odoo> |
|||
<!-- Inherits the product template view for adding the field for selecting the secondary Uom--> |
|||
<record id="product_template_only_form_view" model="ir.ui.view"> |
|||
<field name="name">product.template.view.form.inherit.product.multi.uom</field> |
|||
<field name="model">product.template</field> |
|||
<field name="inherit_id" ref="product.product_template_only_form_view"/> |
|||
<!--Inherits the product variant view for adding the field for selecting the secondary Uom--> |
|||
<record id="product_normal_form_view" model="ir.ui.view"> |
|||
<field name="name">product.product.view.form.inherit.product.multi.uom</field> |
|||
<field name="model">product.product</field> |
|||
<field name="inherit_id" ref="product.product_normal_form_view"/> |
|||
<field name="arch" type="xml"> |
|||
<xpath expr="//field[@name='uom_po_id']" position="after"> |
|||
<field name="is_need_secondary_uom" groups="uom.group_uom"/> |