Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2609 Lượt xem

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

            
        
    
Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 23
2704
0
thg 9 17
2997
2
thg 5 17
6411
1
thg 9 25
436
3
thg 9 24
3262