2008-07-01 15:58:58 +00:00
<?xml version="1.0" encoding="utf-8"?>
2008-09-10 17:56:00 +00:00
<openerp >
2008-06-29 08:26:07 +00:00
<data >
2010-08-10 13:45:29 +00:00
<menuitem icon= "terp-purchase" id= "base.menu_purchase_root" name= "Purchases" sequence= "3" groups= "base.group_system,group_purchase_manager,group_purchase_user,base.group_extended" />
2010-05-18 10:20:28 +00:00
<menuitem id= "menu_procurement_management" name= "Purchase Management"
2010-08-07 06:34:14 +00:00
parent="base.menu_purchase_root" sequence="1" />
2010-06-22 03:59:29 +00:00
2010-06-16 11:43:59 +00:00
<!-- supplier addresses action -->
<record id= "action_supplier_address_form" model= "ir.actions.act_window" >
<field name= "name" > Addresses</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > res.partner.address</field>
<field name= "view_type" > form</field>
<field name= "context" > {"search_default_supplier":1}</field>
<field name= "search_view_id" ref= "base.view_res_partner_address_filter" />
</record>
<record id= "action_supplier_address_form_view1" model= "ir.actions.act_window.view" >
<field eval= "10" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "base.view_partner_address_tree" />
<field name= "act_window_id" ref= "action_supplier_address_form" />
</record>
<record id= "action_supplier_address_form_view2" model= "ir.actions.act_window.view" >
<field eval= "20" name= "sequence" />
<field name= "view_mode" > form</field>
<field name= "view_id" ref= "base.view_partner_address_form1" />
<field name= "act_window_id" ref= "action_supplier_address_form" />
</record>
2010-01-12 10:08:25 +00:00
<!-- supplier menu -->
2010-06-21 21:20:55 +00:00
<menuitem id= "base.menu_procurement_management_supplier" name= "Address Book"
2010-02-04 05:57:44 +00:00
parent="base.menu_purchase_root" sequence="3"/>
2010-06-21 21:20:55 +00:00
<menuitem id= "base.menu_procurement_management_supplier_name" name= "Suppliers"
parent="base.menu_procurement_management_supplier"
action="base.action_partner_supplier_form" sequence="1"/>
2010-01-12 10:08:25 +00:00
<!-- Inventory control -->
2010-04-21 06:27:11 +00:00
<menuitem id= "menu_procurement_management_inventory" name= "Inventory Control"
2010-02-04 05:57:44 +00:00
parent="base.menu_purchase_root" sequence="4"/>
2010-04-21 06:27:11 +00:00
<menuitem action= "stock.action_picking_tree4" id= "menu_action_picking_tree4" parent= "menu_procurement_management_inventory"
2010-06-21 19:48:42 +00:00
name="Incoming Shipments" sequence="9"/>
<menuitem action= "stock.action_reception_picking_move" id= "menu_action_picking_tree_in_move"
parent="menu_procurement_management_inventory" sequence="11"/>
2010-01-12 10:08:25 +00:00
<!-- Invoice control -->
2010-06-21 19:48:42 +00:00
<menuitem id= "menu_procurement_management_invoice" name= "Invoice Control"
parent="base.menu_purchase_root" sequence="6"/>
<menuitem name= "Supplier Invoices to Receive"
id="menu_procurement_management_pending_invoice"
action="account.action_invoice_tree_pending_invoice"
parent="menu_procurement_management_invoice"
sequence="13"/>
2010-02-02 14:21:55 +00:00
2010-01-12 10:08:25 +00:00
<!-- product menu -->
2010-06-21 19:48:42 +00:00
<menuitem id= "menu_procurement_management_product" name= "Products"
parent="base.menu_purchase_root" sequence="8"/>
2010-01-12 10:08:25 +00:00
<menuitem name= "Products" id= "menu_procurement_partner_contact_form" action= "product.product_normal_action_puchased"
2010-06-21 19:48:42 +00:00
parent="menu_procurement_management_product"/>
2008-08-27 11:26:37 +00:00
2008-09-03 15:36:31 +00:00
<record model= "ir.ui.view" id= "purchase_order_calendar" >
<field name= "name" > purchase.order.calendar</field>
<field name= "model" > purchase.order</field>
<field name= "type" > calendar</field>
<field name= "priority" eval= "2" />
<field name= "arch" type= "xml" >
<calendar string= "Calendar View" date_start= "minimum_planned_date" color= "partner_id" >
<field name= "name" />
<field name= "amount_total" />
<field name= "partner_id" />
</calendar>
</field>
</record>
2008-09-16 10:37:53 +00:00
<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>
2008-08-30 09:14:15 +00:00
2008-07-01 15:58:58 +00:00
<record id= "purchase_order_form" model= "ir.ui.view" >
<field name= "name" > purchase.order.form</field>
<field name= "model" > purchase.order</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Purchase Order" >
2008-09-03 15:36:31 +00:00
<group col= "6" colspan= "4" >
2010-04-29 08:08:26 +00:00
<field name= "name" />
2010-04-16 09:16:25 +00:00
<field name= "date_order" />
<field name= "invoiced" />
2008-09-03 15:36:31 +00:00
<newline />
2009-10-22 13:40:16 +00:00
<field name= "warehouse_id" on_change= "onchange_warehouse_id(warehouse_id)" widget= "selection" />
2010-06-21 21:20:55 +00:00
<field name= "partner_ref" />
2010-04-16 09:16:25 +00:00
<field name= "shipped" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-09-03 15:36:31 +00:00
</group>
2008-08-25 22:20:48 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "Purchase Order" >
2010-04-29 08:08:26 +00:00
<field name= "partner_id" on_change= "onchange_partner_id(partner_id)" domain= "[('supplier','=', 1)]" />
2008-07-01 15:58:58 +00:00
<field name= "partner_address_id" />
2010-04-19 06:16:11 +00:00
<field domain= "[('type','=','purchase')]" name= "pricelist_id" groups= "base.group_extended" />
2010-06-21 21:20:55 +00:00
<field name= "origin" groups= "base.group_extended" />
2008-06-29 08:26:07 +00:00
<newline />
2009-09-18 12:28:07 +00:00
<field colspan= "4" name= "order_line" nolabel= "1" mode= "tree,form" >
2009-12-23 11:43:11 +00:00
<tree colors= "red:date_planned<=current_date;black:date_planned>current_date" string= "Purchase Order Lines" >
2009-09-18 12:28:07 +00:00
<field name= "date_planned" />
<field name= "name" />
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "price_unit" />
2010-06-21 21:20:55 +00:00
<field name= "price_subtotal" />
2009-09-18 12:28:07 +00:00
</tree>
<!-- default form view -->
</field>
2008-07-01 15:58:58 +00:00
<group col= "7" colspan= "4" >
<field name= "amount_untaxed" sum= "Untaxed amount" />
<field name= "amount_tax" />
<field name= "amount_total" sum= "Total amount" />
2009-09-24 10:46:21 +00:00
<button name= "button_dummy" states= "draft" string= "Compute" type= "object" icon= "gtk-execute" />
2008-06-29 08:26:07 +00:00
</group>
2008-11-06 22:51:39 +00:00
<group col= "11" colspan= "4" >
2008-07-01 15:58:58 +00:00
<field name= "state" readonly= "1" />
2009-09-24 10:46:21 +00:00
<button name= "purchase_confirm" states= "draft" string= "Confirm Purchase Order" icon= "gtk-apply" />
2009-01-28 15:14:06 +00:00
<button name= "purchase_appbuyer" states= "wait_auth" string= "Approve Purchase" icon= "gtk-ok" />
<button name= "purchase_approve" states= "confirmed" string= "Approved by Supplier" icon= "gtk-ok" />
<button name= "purchase_cancel" states= "draft,confirmed,wait_auth" string= "Cancel Purchase Order" icon= "gtk-cancel" />
<button name= "action_cancel_draft" states= "cancel" string= "Set to Draft" type= "object" icon= "gtk-convert" />
<button name= "action_cancel" states= "approved,except_picking,except_invoice" string= "Cancel Purchase Order" type= "object" icon= "gtk-cancel" />
2008-08-27 11:26:37 +00:00
2009-01-28 15:14:06 +00:00
<button name= "picking_ok" states= "except_picking" string= "Manually Corrected" icon= "gtk-convert" />
<button name= "invoice_ok" states= "except_invoice" string= "Manually Corrected" icon= "gtk-convert" />
2008-06-29 08:26:07 +00:00
</group>
</page>
2010-06-21 19:48:42 +00:00
<page string= "Delivery & Invoices" groups= "base.group_extended" >
<group colspan= "2" col= "2" >
2008-09-03 16:02:26 +00:00
<separator string= "Delivery" colspan= "2" />
<field name= "dest_address_id" on_change= "onchange_dest_address_id(dest_address_id)" />
<field name= "minimum_planned_date" />
2010-04-19 06:16:11 +00:00
<field name= "location_id" />
2008-09-03 16:02:26 +00:00
</group>
<group colspan= "2" col= "2" >
<separator string= "Invoice Control" colspan= "2" />
<field name= "invoice_method" />
2010-04-19 06:16:11 +00:00
<field name= "invoice_id" readonly= "1" groups= "base.group_extended" />
<field name= "fiscal_position" widget= "selection" />
2008-09-03 16:02:26 +00:00
</group>
2008-06-29 08:26:07 +00:00
<newline />
2008-09-03 15:36:31 +00:00
<separator string= "Purchase Control" colspan= "4" />
2008-07-01 15:58:58 +00:00
<field name= "validator" />
<field name= "date_approve" />
2008-06-29 08:26:07 +00:00
</page>
2008-07-01 15:58:58 +00:00
<page string= "Notes" >
<field colspan= "4" name= "notes" nolabel= "1" />
2008-06-29 08:26:07 +00:00
</page>
</notebook>
</form>
</field>
</record>
2008-08-27 11:26:37 +00:00
2009-09-24 10:46:21 +00:00
<record id= "view_purchase_order_filter" model= "ir.ui.view" >
<field name= "name" > purchase.order.list.select</field>
<field name= "model" > purchase.order</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Purchase Order" >
2009-10-30 12:22:28 +00:00
<group col= '10' colspan= '4' >
2010-06-21 13:59:11 +00:00
<filter icon= "terp-document-new" name= "draft" string= "Quotations" domain= "[('state','=','draft')]" separator= "1" help= "Purchase order which are in draft state" />
2010-06-18 08:45:56 +00:00
<filter icon= "terp-camera_test" name= "confirmed" string= "To Approve" domain= "[('state','in',('wait','confirmed'))]" separator= "1" help= "Purchase order to be approved" />
<filter icon= "terp-check" name= "approved" string= "Approved" domain= "[('state','in',('approved','done'))]" separator= "1" help= "Approved purchase order" />
2010-09-16 09:25:43 +00:00
<separator orientation= "vertical" />
2010-06-18 08:45:56 +00:00
<filter icon= "terp-emblem-important" name= "exception" string= "Exception" domain= "[('state','in',('except_invoice','except_picking'))]" separator= "1" help= "Purchase order which are in the exception state" />
2010-06-21 21:20:55 +00:00
<separator orientation= "vertical" />
2010-09-16 09:32:38 +00:00
<filter icon= "terp-gtk-go-back-rtl" string= "To be Invoiced" domain= "[('invoiced','=',1)]" separator= "1" help= "Purchase order to be invoiced" />
2009-11-24 10:08:23 +00:00
<separator orientation= "vertical" />
2010-02-09 07:34:15 +00:00
<field name= "name" select= "1" string= "Reference" />
2009-11-24 10:08:23 +00:00
<field name= "partner_id" select= "1" />
<field name= "product_id" select= "1" />
2010-06-12 17:49:33 +00:00
<field name= "create_uid" select= "1" />
2009-09-24 10:46:21 +00:00
</group>
2010-03-25 07:44:05 +00:00
<newline />
2010-06-01 10:47:58 +00:00
<group expand= "0" string= "Group By..." colspan= "4" col= "10" groups= "base.group_extended" >
<filter string= "Supplier" icon= "terp-personal" domain= "[]" context= "{'group_by':'partner_id'}" />
2010-09-16 10:07:57 +00:00
<separator orientation= "vertical" />
2010-09-16 09:32:38 +00:00
<filter string= "Origin" icon= "terp-gtk-jump-to-rtl" domain= "[]" context= "{'group_by':'origin'}" />
2010-06-01 10:47:58 +00:00
<filter string= "State" icon= "terp-stock_effects-object-colorize" domain= "[]" context= "{'group_by':'state'}" />
2010-09-16 09:25:43 +00:00
<separator orientation= "vertical" />
2010-06-01 10:47:58 +00:00
<filter string= "Order Date" icon= "terp-go-month" domain= "[]" context= "{'group_by':'date_order'}" />
<filter string= "Expected Date" icon= "terp-go-month" domain= "[]" context= "{'group_by':'minimum_planned_date'}" />
2010-10-04 11:13:44 +00:00
2010-03-05 07:44:55 +00:00
</group>
2009-09-24 10:46:21 +00:00
</search>
</field>
</record>
2008-07-01 15:58:58 +00:00
<record id= "purchase_order_tree" model= "ir.ui.view" >
<field name= "name" > purchase.order.tree</field>
<field name= "model" > purchase.order</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2010-05-28 08:42:59 +00:00
<tree colors= "grey:state in ('approved','done');blue:state in ('wait','confirmed');red:state in ('except_invoice','except_picking')" string= "Purchase Order" >
2008-09-03 15:40:08 +00:00
<field name= "name" string= "Reference" />
2010-02-09 07:34:15 +00:00
<field name= "date_order" string= "Order Date" />
2008-07-01 15:58:58 +00:00
<field name= "partner_id" />
2010-02-09 07:34:15 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2008-07-01 15:58:58 +00:00
<field name= "location_id" />
2010-02-09 07:34:15 +00:00
<field name= "minimum_planned_date" />
2010-04-19 06:16:11 +00:00
<field name= "origin" />
2008-08-27 11:26:37 +00:00
<field name= "invoiced_rate" widget= "progressbar" />
<field name= "shipped_rate" widget= "progressbar" />
2010-04-06 11:14:25 +00:00
<field name= "amount_untaxed" sum= "Total Untaxed amount" />
2010-02-09 07:34:15 +00:00
<field name= "amount_total" sum= "Total amount" />
2008-07-01 15:58:58 +00:00
<field name= "state" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2008-08-27 11:26:37 +00:00
2010-04-19 14:22:35 +00:00
<record id= "purchase_rfq" model= "ir.actions.act_window" >
<field name= "name" > Requests for Quotation</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > purchase.order</field>
<field name= "view_type" > form</field>
2010-06-21 13:59:11 +00:00
<field name= "context" > {'search_default_draft': 1,'search_default_create_uid':uid}</field>
2010-04-19 14:22:35 +00:00
<field name= "view_mode" > tree,form,graph,calendar</field>
2010-05-19 15:50:01 +00:00
<field name= "search_view_id" ref= "view_purchase_order_filter" />
2010-08-20 06:34:55 +00:00
<field name= "help" > With the Requests for quotation menu you can create new quotations, review existing one and confirm them to order once the supplier offer is approved.</field>
2010-04-19 14:22:35 +00:00
</record>
2010-04-23 07:24:58 +00:00
<menuitem action= "purchase_rfq" id= "menu_purchase_rfq" parent= "menu_procurement_management"
2010-08-07 06:34:14 +00:00
sequence="6" groups="group_purchase_manager,group_purchase_user"/>
2010-04-19 14:22:35 +00:00
<record id= "purchase_form_action" model= "ir.actions.act_window" >
<field name= "name" > Purchase Orders</field>
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > purchase.order</field>
<field name= "view_mode" > tree,form,graph,calendar</field>
2010-06-21 13:59:11 +00:00
<field name= "context" > {'search_default_approved': 1,'search_default_create_uid':uid}</field>
2010-05-19 15:50:01 +00:00
<field name= "search_view_id" ref= "view_purchase_order_filter" />
2010-08-20 06:34:55 +00:00
<field name= "help" > From the Purchase Orders menu, you can create directly new orders and consult the list of your orders in their various state.</field>
2010-04-19 14:22:35 +00:00
</record>
2010-08-07 06:34:14 +00:00
<menuitem action= "purchase_form_action" id= "menu_purchase_form_action" parent= "menu_procurement_management" />
2010-04-19 14:22:35 +00:00
2008-07-01 15:58:58 +00:00
<record id= "purchase_order_line_form" model= "ir.ui.view" >
<field name= "name" > purchase.order.line.form</field>
<field name= "model" > purchase.order.line</field>
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<form string= "Purchase Order Line" >
2009-09-18 12:28:07 +00:00
<notebook colspan= "4" >
2008-07-01 15:58:58 +00:00
<page string= "Order Line" >
2009-11-26 13:54:00 +00:00
<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,parent.fiscal_position,date_planned,name,price_unit,notes)" />
<field context= "partner_id=parent.partner_id,quantity=product_qty,pricelist=parent.pricelist_id,uom=product_uom,warehouse=parent.warehouse_id" name= "product_qty" on_change= "product_id_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id,parent.date_order,parent.fiscal_position,date_planned,name,price_unit,notes)" />
2010-04-16 10:15:19 +00:00
<field name= "product_uom" on_change= "product_uom_change(parent.pricelist_id,product_id,product_qty,product_uom,parent.partner_id, parent.date_order,parent.fiscal_position)" />
2008-07-01 15:58:58 +00:00
<field colspan= "4" name= "name" />
2010-02-09 07:34:15 +00:00
<field name= "date_planned" widget= "date" />
2008-07-01 15:58:58 +00:00
<field name= "price_unit" />
2009-12-23 16:15:54 +00:00
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-10-04 11:13:44 +00:00
<field name= "account_analytic_id" colspan= "4" groups= "analytic.group_analytic_accounting" domain= "[('parent_id','!=',False)]" />
2010-06-11 22:02:09 +00:00
<group colspan= "4" col= "4" groups= "base.group_extended" >
<separator colspan= "4" string= "Taxes" />
<field colspan= "4" nolabel= "1" name= "taxes_id"
domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
</group>
2008-06-29 08:26:07 +00:00
</page>
2010-04-19 06:16:11 +00:00
<page string= "Invoicing" groups= "base.group_extended" >
2010-06-11 22:02:09 +00:00
<separator colspan= "4" string= "Manual Invoices" />
<field name= "invoiced" />
<newline />
<field colspan= "4" name= "invoice_lines" nolabel= "1" widget= "many2many" />
2009-09-18 12:28:07 +00:00
</page>
2010-09-16 09:38:25 +00:00
<page string= "Notes" >
<field colspan= "4" name= "notes" nolabel= "1" />
</page>
<page string= "History" groups= "base.group_extended" >
<separator colspan= "4" string= "Stock Moves" />
<field colspan= "4" name= "move_ids" nolabel= "1" widget= "many2many" />
2010-10-04 11:13:44 +00:00
</page>
2008-06-29 08:26:07 +00:00
</notebook>
</form>
</field>
</record>
2008-08-27 11:26:37 +00:00
2008-07-01 15:58:58 +00:00
<record id= "purchase_order_line_tree" model= "ir.ui.view" >
<field name= "name" > purchase.order.line.tree</field>
<field name= "model" > purchase.order.line</field>
<field name= "type" > tree</field>
<field name= "arch" type= "xml" >
2009-12-23 11:43:11 +00:00
<tree colors= "red:date_planned<=current_date;black:date_planned>current_date" string= "Purchase Order Lines" >
2009-12-29 14:22:46 +00:00
<field name= "order_id" />
2009-10-03 10:15:23 +00:00
<field name= "name" />
2010-05-28 05:18:58 +00:00
<field name= "date_planned" widget= "date" width= "135" />
2009-05-20 10:58:57 +00:00
<field name= "product_id" />
2008-07-01 15:58:58 +00:00
<field name= "product_qty" />
<field name= "product_uom" />
<field name= "price_unit" />
<field name= "price_subtotal" />
2010-09-16 09:46:23 +00:00
<field name= "state" invisible= "1" />
<field name= "invoiced" invisible= "1" />
2008-06-29 08:26:07 +00:00
</tree>
</field>
</record>
2010-08-11 09:05:24 +00:00
<record id= "purchase_order_line_form2" model= "ir.ui.view" >
<field name= "name" > purchase.order.line.form2</field>
<field name= "model" > purchase.order.line</field>
<field name= "type" > form</field>
2010-08-25 15:03:33 +00:00
<field name= "priority" eval= "20" />
2010-08-11 09:05:24 +00:00
<field name= "arch" type= "xml" >
<form string= "Purchase Order Line" >
<notebook colspan= "4" >
<page string= "Order Line" >
<separator colspan= "4" string= "General Information" />
<field name= "order_id" />
2010-08-25 15:03:33 +00:00
<field name= "product_id" readonly= "1" />
2010-08-11 09:05:24 +00:00
<field name= "product_qty" readonly= "1" />
2010-08-25 15:03:33 +00:00
<field name= "product_uom" readonly= "1" />
2010-08-11 09:05:24 +00:00
<field colspan= "4" name= "name" />
<field name= "date_planned" widget= "date" readonly= "1" />
<field name= "price_unit" />
<field name= "company_id" groups= "base.group_multi_company" widget= "selection" />
2010-10-04 11:13:44 +00:00
<field name= "account_analytic_id" colspan= "4" groups= "analytic.group_analytic_accounting" domain= "[('parent_id','!=',False)]" />
2010-08-11 09:05:24 +00:00
<group colspan= "4" col= "4" groups= "base.group_extended" >
<separator colspan= "4" string= "Taxes" />
<field colspan= "4" nolabel= "1" name= "taxes_id"
domain="[('parent_id','=',False),('type_tax_use','!=','sale')]"/>
</group>
</page>
<page string= "Invoicing" groups= "base.group_extended" >
<separator colspan= "4" string= "Manual Invoices" />
<field name= "invoiced" />
<newline />
<field colspan= "4" name= "invoice_lines" nolabel= "1" widget= "many2many" />
</page>
2010-09-14 10:25:45 +00:00
<page string= "Notes" >
<field colspan= "4" name= "notes" nolabel= "1" />
</page>
<page string= "History" groups= "base.group_extended" >
<separator colspan= "4" string= "Stock Moves" />
<field colspan= "4" name= "move_ids" nolabel= "1" widget= "many2many" />
2010-10-04 11:13:44 +00:00
</page>
2010-08-11 09:05:24 +00:00
</notebook>
</form>
</field>
</record>
2010-05-28 05:18:58 +00:00
<record id= "purchase_order_line_search" model= "ir.ui.view" >
<field name= "name" > purchase.order.line.search</field>
<field name= "model" > purchase.order.line</field>
<field name= "type" > search</field>
<field name= "arch" type= "xml" >
<search string= "Search Purchase Order" >
2010-09-16 09:46:23 +00:00
<group >
2010-08-10 06:18:05 +00:00
<field name= "order_id" />
2010-06-12 17:49:33 +00:00
<field name= "product_id" />
2010-05-28 05:18:58 +00:00
</group>
<newline />
2010-06-01 10:47:58 +00:00
<group expand= "0" string= "Group By..." >
2010-06-21 13:59:11 +00:00
<filter string= "Product" icon= "terp-gtk-jump-to-rtl" domain= "[]" context= "{'group_by' : 'product_id'}" />
2010-08-10 06:18:05 +00:00
<filter icon= "terp-gtk-jump-to-rtl" string= "Order Reference" domain= "[]" context= "{'group_by' :'order_id'}" />
2010-09-16 09:46:23 +00:00
<separator orientation= "vertical" />
2010-09-14 10:22:57 +00:00
<filter string= "State" icon= "terp-stock_effects-object-colorize" domain= "[]" context= "{'group_by' : 'state'}" />
2010-05-28 05:18:58 +00:00
</group>
</search>
</field>
</record>
2008-11-19 14:55:16 +00:00
<act_window
2010-09-28 13:17:10 +00:00
context="{'search_default_partner_id': [active_id]}"
2009-01-19 13:59:11 +00:00
id="act_res_partner_2_purchase_order"
name="Purchase orders"
res_model="purchase.order"
2008-11-19 14:55:16 +00:00
src_model="res.partner"/>
2009-10-13 07:31:44 +00:00
<act_window
2010-09-28 13:17:10 +00:00
context="{'search_default_product_id': [active_id]}"
2009-10-13 07:31:44 +00:00
id="action_purchase_line_product_tree"
name="Product purchases"
2009-11-24 10:08:23 +00:00
res_model="purchase.order.line"
2010-05-05 14:14:09 +00:00
src_model="product.product"
groups="base.group_extended"/>
2010-08-11 09:05:24 +00:00
2010-04-13 10:28:22 +00:00
<record id= "purchase_line_form_action2" model= "ir.actions.act_window" >
2010-09-14 10:22:57 +00:00
<field name= "name" > Purchase Lines Not Invoiced</field>
2010-04-13 10:28:22 +00:00
<field name= "type" > ir.actions.act_window</field>
<field name= "res_model" > purchase.order.line</field>
<field name= "domain" > [('state','in',('confirmed','done')), ('invoiced','=',False)]</field>
<field name= "view_type" > form</field>
<field name= "view_mode" > tree,form</field>
2010-05-28 05:18:58 +00:00
<field name= "search_view_id" ref= "purchase_order_line_search" />
2010-04-13 10:28:22 +00:00
</record>
<record id= "purchase_line_form_action_tree2" model= "ir.actions.act_window.view" >
<field eval= "1" name= "sequence" />
<field name= "view_mode" > tree</field>
<field name= "view_id" ref= "purchase_order_line_tree" />
<field name= "act_window_id" ref= "purchase_line_form_action2" />
</record>
<record id= "purchase_line_form_action_form2" model= "ir.actions.act_window.view" >
<field eval= "2" name= "sequence" />
<field name= "view_mode" > form</field>
2010-08-11 09:05:24 +00:00
<field name= "view_id" ref= "purchase_order_line_form2" />
2010-04-13 10:28:22 +00:00
<field name= "act_window_id" ref= "purchase_line_form_action2" />
</record>
2010-06-21 19:48:42 +00:00
<menuitem
action="purchase_line_form_action2"
id="menu_purchase_line_order_draft"
2010-08-19 08:42:06 +00:00
groups="base.group_extended"
2010-06-21 19:48:42 +00:00
parent="menu_procurement_management_invoice"
sequence="12"/>
2010-05-13 13:29:23 +00:00
2010-06-11 22:02:09 +00:00
<!--
Procurements
2010-04-29 13:30:07 +00:00
-->
2010-05-13 13:29:23 +00:00
2010-04-29 13:30:07 +00:00
<record id= "view_procurement_form_inherit" model= "ir.ui.view" >
2010-06-11 22:02:09 +00:00
<field name= "name" > procurement.order.form.inherit</field>
<field name= "model" > procurement.order</field>
<field name= "inherit_id" ref= "procurement.procurement_form_view" />
<field name= "type" > form</field>
<field name= "arch" type= "xml" >
<xpath expr= "/form/notebook/page/field[@name='close_move']" position= "before" >
<field name= "purchase_id" />
</xpath>
</field>
2010-04-29 13:30:07 +00:00
</record>
2010-04-19 06:16:56 +00:00
2008-06-29 08:26:07 +00:00
</data>
2008-09-10 17:56:00 +00:00
</openerp>