Better description on modules
[odoo/odoo.git] / addons / board_sale / board_sale_view.xml
1 <?xml version="1.0"?>
2 <terp>
3         <data>
4                 <record model="board.note.type" id="note_sale_type">
5                         <field name="name">Sales</field>
6                 </record>
7
8                 <record model="ir.ui.view" id="board_sales_manager_form">
9                         <field name="name">board.sales.manager.form</field>
10                         <field name="model">board.board</field>
11                         <field name="type">form</field>
12                         <field name="arch" type="xml">
13                                 <form string="Sales manager board">
14                                         <hpaned position="100">
15                                                 <child1>
16                                                         <action
17                                                                 string="Your open quotations"
18                                                                 name="%(sale.action_order_tree10)d"
19                                                                 colspan="4"
20                                                                 height="200"
21                                                                 width="510"/>
22                                                         <action string="Top ten sales of the month"
23                                                                 name="%(report_sale.action_order_sale_list)d"
24                                                                 colspan="4"/>
25                                                         <action
26                                                                 string="Cases statistics"
27                                                                 name="%(report_crm.action_report_crm_case_user_tree_month_my)d"
28                                                                 colspan="4"/>
29                                                 </child1>
30
31                                                 <child2>
32                                                         <button
33                                                                 string="Menu"
34                                                                 name="%(base.action_menu_admin)d"
35                                                                 icon="gtk-ok"
36                                                                 type="action"
37                                                                 colspan="4"/>
38
39                                                         <action
40                                                                 string="Sales of the month"
41                                                                 name="%(report_sale.action_order_category_tree_all)d"
42                                                                 view_mode="graph,tree" colspan="4"/>
43                                                         <action 
44                                                                 string="Cases of the month"
45                                                                 name="%(report_crm.action_report_crm_case_user_tree_month)d"
46                                                                 view_mode="graph,tree"
47                                                                 colspan="4"/>
48                                                 </child2>
49                                         </hpaned>
50                                 </form>
51                         </field>
52                 </record>
53
54                 <record model="ir.actions.act_window" id="open_board_sales_manager">
55                         <field name="name">board.sales.manager</field>
56                         <field name="res_model">board.board</field>
57                         <field name="view_type">form</field>
58                         <field name="view_mode">form</field>
59                         <field name="view_id" ref="board_sales_manager_form"/>
60                 </record>
61
62                 <menuitem
63                         name="Dashboards/Sales Manager"
64                         action="open_board_sales_manager"
65                         sequence="1"
66                         id="menu_board_sales_manager"/>
67
68         </data>
69 </terp>