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.
 
 
 
 
 

25 lines
1.1 KiB

<odoo>
<data>
<!-- purchase order line-->
<record model="ir.ui.view" id="purchase_order_view_cw_inherit">
<field name="name">sale.order.view.inherit1</field>
<field name="model">purchase.order</field>
<field name="inherit_id" ref="purchase.purchase_order_form"/>
<field name="arch" type="xml">
<xpath expr="/form/sheet/notebook/page/field[@name='order_line']/tree/field[@name='price_unit']"
position="before">
<field name="cw_qty"/>
<field name="cw_uom_id"/>
<field name="category_id" invisible="1"/>
<field name="cw_received"
attrs="{'column_invisible':[('parent.state', 'not in', ['purchase', 'done'])]}"
class="text-info"/>
<field name="cw_invoiced"
attrs="{'column_invisible':[('parent.state', 'not in', ['purchase', 'done'])]}"
class="text-info"/>
</xpath>
</field>
</record>
</data>
</odoo>