openerp-community team mailing list archive
-
openerp-community team
-
Mailing list archive
-
Message #02353
[Merge] lp:~openerp-dev/openobject-addons/trunk-bug-1116854-amee into lp:openobject-addons
Amee Sankhesara(OpenERP) has proposed merging lp:~openerp-dev/openobject-addons/trunk-bug-1116854-amee into lp:openobject-addons.
Requested reviews:
Atul Patel(OpenERP) (atp-openerp)
OpenERP Core Team (openerp)
Related bugs:
Bug #1116854 in OpenERP Addons: "[Trunk] A Reactivated Task shows as 100% Progress in List View"
https://bugs.launchpad.net/openobject-addons/+bug/1116854
For more details, see:
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1116854-amee/+merge/151184
Hello,
When Reactivate Task, state are not changed.it remains in done state because of that progress bar remain 100%.
so change state to open when reactivate task.
Thanks.
--
https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-1116854-amee/+merge/151184
Your team OpenERP Community is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-bug-1116854-amee.
=== modified file 'project/project.py'
--- project/project.py 2013-02-26 20:40:22 +0000
+++ project/project.py 2013-03-01 10:33:24 +0000
@@ -968,7 +968,8 @@
def do_reopen(self, cr, uid, ids, context=None):
for task in self.browse(cr, uid, ids, context=context):
project = task.project_id
- self.case_set(cr, uid, [task.id], 'open', {}, context=context)
+ #When Reevaluation Task, Need to change state to open.
+ self.case_set(cr, uid, [task.id], 'open', {'state': 'open'}, context=context)
return True
def do_cancel(self, cr, uid, ids, context=None):
Follow ups