Kuldeep Joshi(OpenERP) has proposed merging
lp:~openerp-dev/openobject-addons/trunk-bug-887501-kjo into
lp:openobject-addons.
Requested reviews:
Bhumika (OpenERP) (sbh-openerp)
Related bugs:
Bug #887501 in OpenERP Addons: "Wrong buttons shown in project tasks list"
https://bugs.launchpad.net/openobject-addons/+bug/887501
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-887501-kjo/+merge/81567
Change the project task tree view button according to form view
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-887501-kjo/+merge/81567
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openobject-addons/trunk-bug-887501-kjo.
=== modified file 'project/project_view.xml'
--- project/project_view.xml 2011-11-07 22:13:37 +0000
+++ project/project_view.xml 2011-11-08 12:30:38 +0000
@@ -414,10 +414,13 @@
<field name="date_end" invisible="1"/>
<field name="progress" widget="progressbar" invisible="context.get('set_visible',False)"/>
<field name="state" invisible="context.get('set_visible',False)"/>
- <button name="do_cancel" states="draft,open,pending" string="Cancel" type="object" icon="gtk-cancel" help="For cancelling the task"/>
- <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 groups="base.group_extended" name="%(action_project_task_delegate)d" states="pending,open,draft" string="Delegate" type="action" icon="gtk-sort-descending" help="For changing to delegate state"/>
- <button name="action_close" states="draft,pending,open" string="Done" type="object" icon="terp-dialog-close" help="For changing to done state"/>
+ <button name="do_cancel" states="draft,open,ready,pending" string="Cancel" type="object" icon="gtk-cancel" help="For cancelling the task"/>
+ <button name="do_draft" states="open,ready" string="Draft" type="object" icon="gtk-indent" help="For changing to draft state"/>
+ <button name="do_open" states="pending,draft" string="Start Task" type="object" icon="gtk-media-play" help="For changing to open state"/>
+ <button name="%(action_project_task_reevaluate)d" states="done,cancelled" string="Reactivate" type="action" icon="gtk-convert" context="{'button_reactivate':True}" help="For changing to open state"/>
+ <button name="do_pending" states="open,ready" string="Pending" type="object" icon="gtk-media-pause" help="For changing to pending state"/>
+ <button groups="base.group_extended" name="%(action_project_task_delegate)d" states="pending,open,ready,draft" string="Delegate" type="action" icon="gtk-sort-descending" help="For changing to delegate state"/>
+ <button name="action_close" states="pending,open,ready" string="Done" type="object" icon="terp-dialog-close" help="For changing to done state"/>
</tree>
</field>
</record>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp