Skip to content

Commit

Permalink
[IMP] helpdesk_mgmt: Apply Odoo >= 14.0 style on list view
Browse files Browse the repository at this point in the history
  • Loading branch information
ypapouin committed Jul 27, 2023
1 parent 2452f47 commit 7f0a9f5
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions helpdesk_mgmt/views/helpdesk_ticket_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,19 +213,32 @@
<tree>
<field name="priority" widget="priority" />
<field name="sequence" widget="handle" />
<field name="number" />
<field name="number" decoration-bf="1" />
<field name="name" />
<field name="partner_name" />
<field name="user_id" />
<field name="stage_id" />
<field name="partner_id" optional="hide" widget="many2one_avatar" />
<field name="partner_name" optional="show" />
<field name="user_id" optional="show" widget="many2one_avatar_user" />
<field name="unattended" invisible="1" />
<field name="closed" invisible="1" />
<field
name="tag_ids"
widget="many2many_tags"
options="{'color_field': 'color'}"
optional="show"
/>
<field name="create_date" readonly="1" />
<field name="last_stage_update" />
<field
name="last_stage_update"
widget="remaining_days"
optional="show"
/>
<field name="activity_ids" widget="list_activity" optional="hide" />
<field
name="stage_id"
widget="badge"
decoration-success="not unattended and not closed"
decoration-info="unattended == True"
decoration-muted="closed == True"
/>
</tree>
</field>
</record>
Expand Down

0 comments on commit 7f0a9f5

Please sign in to comment.