</calendar>
</field>
</record>
- <record model="ir.ui.view" id="view_purchase_order_graph">
- <field name="name">purchase.order.graph</field>
- <field name="model">purchase.order</field>
- <field name="type">graph</field>
- <field name="arch" type="xml">
- <graph string="Purchase Order" type="bar">
- <field name="partner_id"/>
- <field name="amount_total" operator="+"/>
- </graph>
- </field>
- </record>
+ <record model="ir.ui.view" id="view_purchase_order_graph">
+ <field name="name">purchase.order.graph</field>
+ <field name="model">purchase.order</field>
+ <field name="type">graph</field>
+ <field name="arch" type="xml">
+ <graph string="Purchase Order" type="bar">
+ <field name="partner_id"/>
+ <field name="amount_total" operator="+"/>
+ </graph>
+ </field>
+ </record>
<record id="purchase_order_form" model="ir.ui.view">
<field name="name">purchase.order.form</field>
<form string="Purchase Order Line">
<notebook>
<page string="Order Line">
+ <field colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order)"/>
<field name="product_qty"/>
<field name="product_uom" on_change="product_uom_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order)"/>
- <field colspan="4" context="partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name="product_id" on_change="product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order)"/>
<field colspan="4" name="name"/>
<field name="date_planned"/>
<field name="price_unit"/>