From a559f596a306d2d973b0f00cd40915b71c43b46d Mon Sep 17 00:00:00 2001 From: "uco (OpenERP)" Date: Tue, 16 Nov 2010 14:44:47 +0530 Subject: [PATCH] [FIX] project: Progressbar on project changes if task work is entered. lp bug: https://launchpad.net/bugs/655034 fixed bzr revid: uco@tinyerp.com-20101116091447-eec67eaajm5affl5 --- addons/project/project.py | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/project/project.py b/addons/project/project.py index 49e2579e92d..bc131741df7 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -153,6 +153,7 @@ class project(osv.osv): store = { 'project.project': (lambda self, cr, uid, ids, c={}: ids, ['tasks'], 10), 'project.task': (_get_project_task, ['planned_hours', 'effective_hours', 'remaining_hours', 'total_hours', 'progress', 'delay_hours','state'], 10), + 'project.task.work': (_get_project_work, ['hours'], 10), }), 'warn_customer': fields.boolean('Warn Partner', help="If you check this, the user will have a popup when closing a task that propose a message to send by email to the customer.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}), 'warn_header': fields.text('Mail Header', help="Header added at the beginning of the email for the warning message sent to the customer when a task is closed.", states={'close':[('readonly',True)], 'cancelled':[('readonly',True)]}),