[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#60317 X-original-commit: a455999588053d528cc779b070cac31ab3b273df Related: odoo/enterprise#14223 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
This commit is contained in:
@@ -682,7 +682,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>
|
||||
|
||||
Reference in New Issue
Block a user