1 <?xml version="1.0" encoding="UTF-8"?>
6 <record model="ir.ui.view" id="palier_form_view">
7 <field name="name">palier.form</field>
8 <field name="model">cmmi.axes.palier</field>
9 <field name="arch" type="xml">
10 <form string="Formulaire palier" version="7.0">
12 <button string="Commencer le palier" type="object" name="commencer" class="oe_highlight" />
13 <field name="state" widget="statusbar" statusbar_visible="cree,encours"/>
17 <group colspan="4" col="6">
18 <field name="name" colspan="4"/>
19 <field name="type_palier" colspan="1"/>
22 <notebook colspan="4">
23 <page string="Détails">
24 <group colspan="3" col="4">
25 <label for="description" colspan="1" />
26 <field name="description" colspan="3" nolabel="1" />
27 <label for="commentaire" colspan="1" />
28 <field name="commentaire" colspan="3" nolabel="1" />
29 <label for="version" colspan="1" />
30 <field name="version" colspan="1" nolabel="1" />
34 <group colspan="4" col="6">
35 <label for="date_jalon" colspan="1" />
36 <field name="date_jalon" colspan="5" nolabel="1" />
37 <p style="font-weight:bold" colspan="1">Date initiale début</p>
38 <field name="date_init_deb" colspan="1" nolabel="1" readonly="1" />
39 <p style="font-weight:bold" colspan="1">Date initiale fin</p>
40 <field name="date_init_fin" colspan="3" nolabel="1" readonly="1" />
41 <p style="font-weight:bold" colspan="1">Date planifiée début</p>
42 <field name="date_plan_deb" colspan="1" nolabel="1" />
43 <p style="font-weight:bold" colspan="1">Date plannifiée</p>
44 <field name="date_plan_fin" colspan="3" nolabel="1" />
45 <p style="font-weight:bold" colspan="1">Date réelle début</p>
46 <field name="date_reel_deb" colspan="1" nolabel="1" readonly="1" />
47 <p style="font-weight:bold" colspan="1">Date réelle fin</p>
48 <field name="date_reel_fin" colspan="3" nolabel="1" readonly="1" />
51 <page string="Phases">
52 <button type="action" target="new" name="%(wizard_add_phase_to_palier)d" string="Ajouter une phase" class="oe_highlight" context="{'palier_id': id}" />
54 <tree create="false" delete="true" editable="true">
59 <page string="Évolutions">
60 <field name="evolutions" />