19 lines
931 B
XML
19 lines
931 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<flectra>
|
|
<data>
|
|
<record id="view_product_landed_cost_form" model="ir.ui.view">
|
|
<field name="name">product.template.landed.cost.form</field>
|
|
<field name="model">product.template</field>
|
|
<field name="inherit_id" ref="purchase.view_product_supplier_inherit"/>
|
|
<field name="arch" type="xml">
|
|
<group name="accounting" position="inside">
|
|
<group string="Landed Costs">
|
|
<field name="landed_cost_ok" class="oe_inline" attrs="{'invisible':[('type', 'not in', ['product', 'consu', 'service'])]}"/>
|
|
<field name="split_method" attrs="{'invisible':['|', ('landed_cost_ok', '=' ,False), ('type', 'not in', ['product', 'consu', 'service'])]}"/>
|
|
</group>
|
|
</group>
|
|
</field>
|
|
</record>
|
|
</data>
|
|
</flectra>
|