helpdesk_reason.xml
827 Bytes
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="helpdesk_reason_view_tree" model="ir.ui.view">
<field name="name">ticket.reason.tree</field>
<field name="model">ticket.reason</field>
<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>
<field name="res_model">ticket.reason</field>
<field name="view_mode">tree</field>
</record>
<menuitem
name="Motivos de ticket"
sequence="14"
id="ticket_reason"
parent="sh_all_in_one_helpdesk.helpdesk_config_menu"
action="helpdesk_reason_act_window"/>
</odoo>