From c2a5d6031cc448b5af601a3a75dbc0d3d2cab09c Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Thu, 21 Dec 2017 14:43:02 +0100 Subject: [PATCH] [FIX] pad_project: do not write on task description when using pad. This revision is similar to 6e8faf40bd1f63b8001aad11bca9ff749ca365c8 but for the opposite case: When the task is using the pad, somehow the regular `description` pad was written as well on save, making both field being saved together, and when description is saved its content is written on the pad. Therefore, whatever you written in the pad, the pad was overriden with the current content of the task regular description field opw-787773 --- addons/pad_project/views/project_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/pad_project/views/project_views.xml b/addons/pad_project/views/project_views.xml index c35bd4225ee..e97514a9859 100644 --- a/addons/pad_project/views/project_views.xml +++ b/addons/pad_project/views/project_views.xml @@ -6,7 +6,7 @@ - {'invisible': [('use_pad', '=', True)]} + {'invisible': [('use_pad', '=', True)], 'readonly': [('use_pad', '=', True)]}