From adae94e48394edd250d0f7d2ec06217ae99e0cb7 Mon Sep 17 00:00:00 2001 From: Nicolas Martinelli Date: Mon, 21 Mar 2016 11:42:57 +0100 Subject: [PATCH] [FIX] project: task manager Following commit 1dbccc8, there is no `user_id` field on the analytic account anymore. However, a field `user_id` was added directly on the project with commit 908f416. opw-672333 --- addons/project/project.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/project/project.py b/addons/project/project.py index c4341fd9cea..d46d4996ea9 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -456,7 +456,7 @@ class task(osv.osv): 'remaining_hours': fields.float('Remaining Hours', digits=(16,2), help="Total remaining time, can be re-estimated periodically by the assignee of the task."), 'user_id': fields.many2one('res.users', 'Assigned to', select=True, track_visibility='onchange'), 'partner_id': fields.many2one('res.partner', 'Customer'), - 'manager_id': fields.related('project_id', 'analytic_account_id', 'user_id', type='many2one', relation='res.users', string='Project Manager'), + 'manager_id': fields.related('project_id', 'user_id', type='many2one', relation='res.users', string='Project Manager'), 'company_id': fields.many2one('res.company', 'Company'), 'id': fields.integer('ID', readonly=True), 'color': fields.integer('Color Index'),