跳至内容
菜单
此问题已终结
1 回复
2415 查看

where is the my/tickets located in the odoo?

i need to customize odoo ticket portal but can't find the 'my/tickets' code 
i think its in portal_my_template, but i have no clue

            
        
    
形象
丢弃
最佳答案

Hi,

Please search for the record XML id "portal_service_category" in your code. you can get the corresponding my/ticket record

<div id="portal_service_category" position="inside">
<t t-call="portal.portal_docs_entry">
<t t-set="icon" t-value="'/helpdesk/static/src/img/tickets.svg'"/>
                <t t-set="title">Tickets</t>
                <t t-set="text">Follow all your helpdesk tickets</t>
                <t t-set="url" t-value="'/my/tickets'"/>
                <t t-set="placeholder_count" t-value="'ticket_count'"/>
            </t>
        </div>


Hope it helps

形象
丢弃
相关帖文 回复 查看 活动
1
10月 23
2556
0
9月 17
2853
2
5月 17
6277
1
9月 25
241
3
9月 24
3098