[IMP] gamification: workflow buttons

bzr revid: mat@openerp.com-20130215142941-laoi71wkjlychxy1
This commit is contained in:
Martin Trigaux 2013-02-15 15:29:41 +01:00
parent 8768bd8150
commit beefb1ef74
1 changed files with 6 additions and 0 deletions

View File

@ -25,6 +25,12 @@
<field name="model">gamification.goal.plan</field>
<field name="arch" type="xml">
<form string="Goal types" version="7.0">
<header>
<button string="Start plan" type="workflow" name="signal_start" states="draft"/>
<button string="Close plan" type="workflow" name="signal_close" states="inprogress"/>
<button string="Cancel plan" type="workflow" name="signal_cancel" states="inprogress"/>
<field name="state" widget="statusbar"/>
</header>
<sheet>
<h1>
<field name="name" placeholder="Goal plan name"/>