[MERGE] latest trunk
[odoo/odoo.git] / addons / portal_sale / portal_sale_view.xml
1 <?xml version="1.0"?>
2 <openerp>
3     <data>
4
5         <record id="action_picking_tree" model="ir.actions.act_window">
6             <field name="name">Delivery Orders</field>
7             <field name="res_model">stock.picking.out</field>
8             <field name="type">ir.actions.act_window</field>
9             <field name="view_type">form</field>
10             <field name="view_mode">tree,form</field>
11             <field name="domain">[('type','=','out')]</field>
12             <field name="context">{'default_type': 'out', 'contact_display': 'partner_address'}</field>
13             <field name="search_view_id" ref="stock.view_picking_out_search"/>
14             <field name="help">This is the list of all delivery orders that have to be prepared, according to your different orders.</field>
15         </record>
16
17         <record id="product_normal_action" model="ir.actions.act_window">
18             <field name="name">Products</field>
19             <field name="type">ir.actions.act_window</field>
20             <field name="res_model">product.product</field>
21             <field name="view_type">form</field>
22             <field name="view_mode">kanban,tree,form</field>
23             <field name="view_id" ref="product.product_kanban_view"/>
24             <field name="search_view_id" ref="product.product_search_form_view"/>
25         </record>
26
27         <menuitem name="Quotations" id="portal_quotations" parent="portal.portal_orders"
28             action="sale.action_order_tree5" sequence="10"/>
29         <menuitem name="Sales Orders" id="portal_sales_orders" parent="portal.portal_orders"
30             action="sale.action_order_form" sequence="20"/>
31         <menuitem name="Delivery Orders" id="portal_delivery" parent="portal.portal_orders"
32             action="action_picking_tree" sequence="30"/>
33         <menuitem name="Products" id="portal_products" parent="portal.portal_orders"
34             action="product_normal_action" sequence="40"/>
35
36         <menuitem name="Invoice" id="portal_invoices" parent="portal.portal_invoices_payements"
37             action="account.action_invoice_tree1" sequence="10"/>
38         <menuitem name="Refund/Payments" id="portal_payments" parent="portal.portal_invoices_payements"
39             action="account_voucher.action_vendor_receipt" sequence="20"/>
40
41     </data>
42 </openerp>