[FIX] project_long_term: Should not close phase in draft state

lp bug: https://launchpad.net/bugs/623576 fixed

bzr revid: hmo@tinyerp.com-20100827151247-gm3wxd1q1r0qrnuk
This commit is contained in:
rvalyi 2010-08-27 20:42:47 +05:30 committed by Harry (OpenERP)
parent 2da2a98449
commit 8a82bd71e7
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@
<field name="state" select="1"/>
<button string="Draft" name="set_draft" states="open" icon="gtk-indent"/>
<button string="Start Phase" name="set_open" states="pending,draft" icon="gtk-execute"/>
<button string="Done" name="set_done" states="draft,pending,open" icon="gtk-apply"/>
<button string="Done" name="set_done" states="pending,open" icon="gtk-apply"/>
<button string="Pending" name="set_pending" states="open" icon="gtk-media-pause"/>
<button string="Cancel" name="set_cancel" states="draft,open,pending" icon="gtk-cancel"/>
</group>