helpdesk_reason.xml 827 Bytes
Newer Older
1 2 3 4
<?xml version="1.0" encoding="utf-8"?>
<odoo>
    
    <record id="helpdesk_reason_view_tree" model="ir.ui.view">
Arturo Jasso Origel committed
5 6
        <field name="name">ticket.reason.tree</field>
        <field name="model">ticket.reason</field>
7 8 9 10 11 12 13 14 15 16
        <field name="arch" type="xml">
            <tree editable="top">
                <field name="name"/>
            </tree>
        </field>
    </record>


    <record id="helpdesk_reason_act_window" model="ir.actions.act_window">
        <field name="name">Motivo</field>
Arturo Jasso Origel committed
17
        <field name="res_model">ticket.reason</field>
18 19 20 21
        <field name="view_mode">tree</field>
    </record>

    <menuitem 
Arturo Jasso Origel committed
22
        name="Motivos de ticket" 
23
        sequence="14" 
Arturo Jasso Origel committed
24
        id="ticket_reason" 
25 26 27
        parent="sh_all_in_one_helpdesk.helpdesk_config_menu" 
        action="helpdesk_reason_act_window"/>
</odoo>