<field name="model">cmmi.evolution</field>
<field name="arch" type="xml">
<form string="Formulaire évolution" version="7.0">
- <header />
+ <header>
+ <button string="Commencer" type="object" name="action_commencer" states="cree" class="oe_highlight" />
+ <button string="Suspendre" type="object" name="action_suspendre" states="encours" class="oe_highlight" />
+ <button string="Terminer" type="object" name="action_terminer" states="encours" class="oe_highlight" />
+ <button string="Abandonner" type="object" name="action_abandonner" states="encours,cree" class="oe_highlight" />
+ <button string="Reprendre" type="object" name="action_reprendre" states="suspendu" class="oe_highlight" />
+ </header>
<sheet>
<group colspan="4" col="3">
<field name="name" colspan="3"/>
<field name="pid" colspan="3"/>
<field name="priorite" colspan="3"/>
- <field name="statut" colspan="3"/>
+ <field name="state" colspan="3"/>
</group>
<notebook colspan="4">
<page string="Détails">