summaryrefslogtreecommitdiff
path: root/addons/project
diff options
context:
space:
mode:
authorNicolas Martinelli <nim@odoo.com>2020-10-16 14:27:54 +0000
committerNicolas Martinelli <nim@odoo.com>2020-10-16 14:29:38 +0000
commita455999588053d528cc779b070cac31ab3b273df (patch)
tree2978735decb84fc2e3c95a0980b370148f76f8b6 /addons/project
parent4c72b1536a19cd517046113a5ad93b5782774664 (diff)
[FIX] project: remaining_days widget
The widget is intended for informative fields only, i.e. the fields do not need to be editable. It is not the case for the date_deadline. closes odoo/odoo#60183 Related: odoo/enterprise#14174 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/project')
-rw-r--r--addons/project/views/project_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml
index 4d9c55f7c24..9391b98661f 100644
--- a/addons/project/views/project_views.xml
+++ b/addons/project/views/project_views.xml
@@ -674,7 +674,7 @@
<field name="user_id"
class="o_task_user_field"
domain="[('share', '=', False)]"/>
- <field name="date_deadline" widget="remaining_days" attrs="{'invisible': [('is_closed', '=', True)]}"/>
+ <field name="date_deadline" attrs="{'invisible': [('is_closed', '=', True)]}"/>
<field name="recurring_task" attrs="{'invisible': [('allow_recurring_tasks', '=', False)]}" />
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color', 'no_create_edit': True}"/>
</group>