[MERGE] project: added a missing 'state' field in the tree view, necessary to choose buttons to display

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

bzr revid: tde@openerp.com-20120214100956-v772g3s6xegxoudn
This commit is contained in:
Thibault Delavallée
2012-02-14 11:09:56 +01:00
+1
View File
@@ -26,6 +26,7 @@
<field name="name"/>
<field name="user_id"/>
<field name="date_deadline"/>
<field name="state" invisible="1"/>
<button name="do_open" states="pending,draft,done,cancelled" string="Start Task" type="object" icon="gtk-media-play" help="For changing to open state" invisible="context.get('set_visible',False)"/>
<button name="action_close" states="draft,pending,open" string="Done" type="object" icon="terp-dialog-close" help="For changing to done state"/>
</tree>