58a562bab2b92e77a8089c55086ef425b2c3e83f
[OpenERP/cmmi.git] / views / projet.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <openerp>
3     <data>
4
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                         <label for="description" colspan="1" />
16                         <field name="description" nolabel="1" />
17                         <label for="moe_id" colspan="1" />
18                         <field name="moe_id" nolabel="1" />
19                         <label for="moa_id" colspan="1" />
20                         <field name="moa_id" nolabel="1" />
21                         <notebook colspan="4">
22                             <page string="Team members">
23                                 <field name="team_members" />
24                             </page>
25                             <page string="Domaines">
26                                 <field name="domaines" />
27                             </page>
28                             <page string="Modules">
29                                 <field name="modules" />
30                             </page>
31                             <page string="Chantiers">
32                                 <field name="chantiers" />
33                             </page>
34                         </notebook>
35                     </sheet>
36                 </form>
37             </field>
38         </record>
39
40         <record model="ir.actions.act_window" id="projets_list_action">
41             <field name="name">Liste des projets</field>
42             <field name="res_model">projet.projet</field>
43             <field name="view_mode">tree,form</field>
44         </record>
45
46         <menuitem id="main_projet_menu" name="Projet by us" />
47         <menuitem id="mt_projet_menu" name="Projets" parent="main_projet_menu" />
48         <menuitem id="mt_projet_projets_list_menu" name="Liste des projets" parent="mt_projet_menu" action="projets_list_action"/>
49
50     </data>
51 </openerp>