[FIX] helpdesk_portal_ticket_priority_form: fix the portal ticket list column diplay of priority
the previous code was not working when list is grouped by stage or category. The new code set an XPATH based on a fixed tag.
This commit is contained in:
@@ -34,10 +34,10 @@
|
|||||||
<!-- Tickets portal list -->
|
<!-- Tickets portal list -->
|
||||||
<template id="portal_ticket_list_priority" name="Ticket Portal List Template : Priority"
|
<template id="portal_ticket_list_priority" name="Ticket Portal List Template : Priority"
|
||||||
inherit_id="helpdesk_mgmt.portal_ticket_list">
|
inherit_id="helpdesk_mgmt.portal_ticket_list">
|
||||||
<xpath expr="//thead/tr/th[3]" position="after">
|
<xpath expr="//thead/tr/th[@name='th_create_date']" position="before">
|
||||||
<th t-if="groupby == 'none'">Priority</th>
|
<th>Priority</th>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="//tbody/t/tr/td[3]" position="after">
|
<xpath expr="//span[@t-field='ticket.create_date']/.." position="before">
|
||||||
<td>
|
<td>
|
||||||
<t
|
<t
|
||||||
t-call="helpdesk_portal_ticket_priority_form.portal_my_tickets_priority_widget_template" />
|
t-call="helpdesk_portal_ticket_priority_form.portal_my_tickets_priority_widget_template" />
|
||||||
|
|||||||
Reference in New Issue
Block a user