~openerp-community/openobject-addons/taktik

« back to all changes in this revision

Viewing changes to board_sale/board_sale_view.xml

  • Committer: ced
  • Date: 2006-12-08 15:36:28 UTC
  • Revision ID: ced-1ec550f2690647863c247131b72bda65c2f4ea81
Fix graph for '/'
Add board for sale manager

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<terp>
 
3
        <data>
 
4
 
 
5
                <record model="ir.ui.view" id="board_sales_manager_form">
 
6
                        <field name="name">board.sales.manager.form</field>
 
7
                        <field name="model">ir.board</field>
 
8
                        <field name="type">form</field>
 
9
                        <field name="arch" type="xml">
 
10
                                <form string="Sales manager board">
 
11
                                        <hpaned>
 
12
                                                <child1>
 
13
                                                        <action string="Your open request quotation" name="%(sale.action_order_tree10)d" colspan="3"/>
 
14
                                                        <action string="Top ten sales of the month" name="%(report_sale.action_order_sale_list)d" colspan="3"/>
 
15
                                                        <action string="Sales of the month" name="%(sale.action_order_tree5)d" colspan="3"/>
 
16
                                                </child1>
 
17
 
 
18
                                                <child2>
 
19
                                                        <action string="Sales by Category of the month" name="%(report_sale.action_order_category_tree_all)d"
 
20
                                                                view_mode="graph,tree" colspan="3"/>
 
21
                                                        <action string="Cases of the month" name="%(report_crm.action_report_crm_case_user_tree_month)d" view_mode="graph,tree" colspan="3"/>
 
22
                                                </child2>
 
23
                                        </hpaned>
 
24
                                </form>
 
25
                        </field>
 
26
                </record>
 
27
 
 
28
                <record model="ir.actions.act_window" id="open_board_sales_manager">
 
29
                        <field name="name">board.sales.manager</field>
 
30
                        <field name="res_model">ir.board</field>
 
31
                        <field name="view_type">form</field>
 
32
                        <field name="view_mode">form</field>
 
33
                        <field name="view_id" ref="board_sales_manager_form"/>
 
34
                </record>
 
35
 
 
36
                <menuitem name="Board/Sales Manager" action="open_board_sales_manager" sequence="1" id="menu_board_sales_manager"/>
 
37
        </data>
 
38
</terp>