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.
24 lines
1.1 KiB
24 lines
1.1 KiB
<?xml version = "1.0" encoding = "UTF-8" ?>
|
|
<odoo>
|
|
<!--Inherited purchase order form view for adding Catch Weight fields -->
|
|
<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="//field[@name='order_line']//field[@name='price_unit']"
|
|
position="before">
|
|
<field name="cw_qty"/>
|
|
<field name="cw_uom_id"/>
|
|
<field name="category_id" invisible="1"/>
|
|
<field name="toggle_cw" invisible="1"/>
|
|
<field name="cw_received"
|
|
attrs="{'invisible':[('toggle_cw', '=', False)]}"
|
|
class="text-info"/>
|
|
<field name="cw_invoiced"
|
|
attrs="{'invisible':[('toggle_cw', '=', False)]}"
|
|
class="text-info"/>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|
|
|