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.0 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Purchase order line-->
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.view.form.inherit.cw.purchase</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']/list/field[@name='price_unit']"
position="before">
<field name="cw_qty"/>
<field name="cw_uom_id" readonly="1"/>
<field name="category_id" invisible="1"/>
<field name="cw_received"
column_invisible="parent.state not in ['purchase', 'done']"
class="text-info"/>
<field name="cw_invoiced"
column_invisible="parent.state not in ['purchase', 'done']"
class="text-info"/>
</xpath>
</field>
</record>
</odoo>