Skip to content
Snippets Groups Projects
Commit 26e26181 authored by Nicolas Martinelli's avatar Nicolas Martinelli
Browse files

[IMP] project: kanban label in tasks tree


Some projects may not need the tags, while others use the state heavily.
This makes both fields available and optional.

closes odoo/odoo#61924

Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent e1b4521e
Branches
Tags
No related merge requests found
......@@ -913,7 +913,8 @@
<field name="company_id" groups="base.group_multi_company" optional="show"/>
<field name="activity_ids" widget="list_activity" optional="show"/>
<field name="date_deadline" optional="hide" widget="remaining_days" attrs="{'invisible': [('is_closed', '=', True)]}"/>
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}"/>
<field name="tag_ids" widget="many2many_tags" options="{'color_field': 'color'}" optional="show"/>
<field name="kanban_state" widget="state_selection" optional="hide" readonly="1"/>
<field name="stage_id" invisible="context.get('set_visible',False)" optional="show" readonly="1"/>
</tree>
</field>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment