跳至內容
選單
此問題已被標幟
1 回覆
2449 瀏覽次數

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
2591
0
9月 17
2879
2
5月 17
6308
1
9月 25
311
3
9月 24
3137