Modifs sur projet
[OpenERP/cmmi.git] / views / projet.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <openerp>
3     <data>
4         <!--         VIEWS PROJET         -->
5         <record model="ir.ui.view" id="projet_form_view">
6             <field name="name">projet.form</field>
7             <field name="model">projet.projet</field>
8             <field name="arch" type="xml">
9                 <form string="Todolist Form" version="7.0">
10                     <header />
11
12                     <sheet>
13                         <label for="name" colspan="1" />
14                         <field name="name" nolabel="1" />
15                         <notebook colspan="4">
16                             <page string="Projet">
17                                 <label for="description" colspan="1" />
18                                 <field name="description" nolabel="1" />
19                                 <label for="moe_id" colspan="1" />
20                                 <field name="moe_id" nolabel="1" />
21                                 <label for="moa_id" colspan="1" />
22                                 <field name="moa_id" nolabel="1" />
23                             </page>
24                             <page string="Structures">
25                                 <p>MOe</p>
26                                 <field name="structures_moe" />
27                                 <p>MOa</p>
28                                 <field name="structures_moa" />
29                             </page>
30                             <page string="Team members">
31                                 <field name="team_members" />
32                             </page>
33                             <page string="Domaines">
34                                 <field name="domaines" />
35                             </page>
36                             <page string="Modules">
37                                 <field name="modules" />
38                             </page>
39                             <page string="Chantiers">
40                                 <field name="chantiers" />
41                             </page>
42                             <page string="Paliers">
43                                 <field name="paliers" />
44                             </page>
45                             <page string="Phases">
46                                 <field name="phases" />
47                             </page>
48                             <page string="Evolutions">
49                                 <field name="evolutions" />
50                             </page>
51                         </notebook>
52                     </sheet>
53                 </form>
54             </field>
55         </record>
56
57
58         <!--         VIEWS STRUCTURES         -->
59
60
61
62
63         <!--         ACTIONS         -->
64
65         <record model="ir.actions.act_window" id="projets_list_action">
66             <field name="name">Liste des projets</field>
67             <field name="res_model">projet.projet</field>
68             <field name="view_mode">tree,form</field>
69         </record>
70
71         <record model="ir.actions.act_window" id="domaines_list_action">
72             <field name="name">Liste des domaines</field>
73             <field name="res_model">projet.domaine</field>
74             <field name="view_mode">tree,form</field>
75         </record>
76
77         <record model="ir.actions.act_window" id="structures_list_action">
78             <field name="name">Liste des structures</field>
79             <field name="res_model">projet.structure</field>
80             <field name="view_mode">tree,form</field>
81         </record>
82
83         <record model="ir.actions.act_window" id="phases_list_action">
84             <field name="name">Liste des phases</field>
85             <field name="res_model">projet.phase</field>
86             <field name="view_mode">tree,form</field>
87         </record>
88
89         <menuitem id="main_projet_menu" name="Projet" />
90         <menuitem id="mt_projet_menu" name="CMMI" parent="main_projet_menu" />
91         <menuitem id="mt_referentiels_menu" name="Référentiels" parent="main_projet_menu" />
92         <menuitem id="mt_projet_projets_list_menu" name="Liste des projets" parent="mt_projet_menu" action="projets_list_action"/>
93         <menuitem id="mt_projet_domaines_list_menu" name="Liste des domaines" parent="mt_referentiels_menu" action="domaines_list_action"/>
94         <menuitem id="mt_projet_structures_list_menu" name="Liste des structures" parent="mt_referentiels_menu" action="structures_list_action"/>
95         <menuitem id="mt_projet_phases_list_menu" name="Liste des phases" parent="mt_referentiels_menu" action="phases_list_action"/>
96     </data>
97 </openerp>