[FIX] bug 902131 close instead of done

bzr revid: fp@tinyerp.com-20111219215028-5ukoagwjnpo0x48k
This commit is contained in:
Fabien Pinckaers
2011-12-19 22:50:28 +01:00
@@ -38,9 +38,9 @@
<group col="10" colspan="4">
<field name="state" readonly="1" widget="statusbar" statusbar_visible="draft,running,done"/>
<button name="state_cancel_set" string="Cancel" states="running" icon="terp-gtk-stop"/>
<button name="state_running_set" string="Run" states="draft,done,cancelled" icon="gtk-apply"/>
<button name="state_running_set" string="Run" states="draft" icon="gtk-apply"/>
<button name="state_draft_set" string="Set to Draft" states="done,cancelled" icon="gtk-convert"/>
<button name="state_done_set" string="Close" states="running" icon="terp-dialog-close"/>
<button name="state_done_set" string="Done" states="running" icon="terp-dialog-close"/>
</group>
</form>
</field>