Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2608 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
1
окт. 23
2702
0
сент. 17
2996
2
мая 17
6409
1
сент. 25
436
3
сент. 24
3262