1 <?xml version="1.0" encoding="UTF-8"?>
6 <record model="ir.ui.view" id="evolution_form_view">
7 <field name="name">evolution.form</field>
8 <field name="model">cmmi.evolution</field>
9 <field name="arch" type="xml">
10 <form string="Formulaire évolution" version="7.0">
12 <button string="Commencer" type="object" name="action_commencer" states="cree" class="oe_highlight" />
13 <button string="Suspendre" type="object" name="action_suspendre" states="encours" class="oe_highlight" />
14 <button string="Terminer" type="object" name="action_terminer" states="encours" class="oe_highlight" />
15 <button string="Abandonner" type="object" name="action_abandonner" states="encours,cree" class="oe_highlight" />
16 <button string="Reprendre" type="object" name="action_reprendre" states="suspendu" class="oe_highlight" />
20 <group colspan="4" col="4">
21 <field name="name" colspan="4"/>
22 <field name="pid" colspan="2"/>
23 <field name="priorite" colspan="2"/>
24 <field name="state" colspan="4"/>
25 <field name="charge_init" colspan="2"/>
26 <field name="charge_plan" colspan="2"/>
29 <page string="Détails">
31 <field name="demandeur" colspan="4" />
32 <field name="description" colspan="4" />
33 <field name="objectif" colspan="2" />
34 <field name="commentaire" colspan="2" />
37 <page string="Phases">
51 <record model="ir.ui.view" id="evolution_list_view">
52 <field name="name">evolution.list</field>
53 <field name="model">cmmi.evolution</field>
54 <field name="arch" type="xml">
55 <tree string="Liste des évolutions">
58 <field name="priorite" />
59 <field name="state" />
60 <field name="projet_id" />
61 <field name="chantier_id" />
62 <field name="palier_id" />