From 8fa73181781babbf09ab655ba13ae81ce4ec7064 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Mon, 23 Nov 2015 16:31:40 +0100 Subject: [PATCH] [FIX] project, issue: change user_id + date_start project.task: use an onchange to update date_start when changing user_id. Indeed date_start is automatically updated in the create / write. Without the onchange, this may lead to errors related to date_start being greater then date_end. project.issue: code in create and write now takes into account date_open values given to the method and avoid erasing them. In issue however the onchange is not added. Indeed the date_open and date_closed fields are not visible in the view. They are automatically computed and used to compute statistics. --- addons/project/project_view.xml | 1 + addons/project_issue/project_issue.py | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index 925a440a1ba..e1f211da844 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -396,6 +396,7 @@