Commit 1f5b746b by Arturo Jasso Origel

se realizan ajustes para poder mostrar ciertos menús de configuración como…

se realizan ajustes para poder mostrar ciertos menús de configuración como sucursales,erp, tipos de mantenimiento, etc
parent 79eb5e74
......@@ -27,6 +27,7 @@
'views/portal_emergency.xml',
'views/helpdesk_ticket.xml',
'views/res_users.xml',
'views/helpdesk_maintenance_type.xml',
],
'assets': {
'web.assets_frontend': [
......
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="helpdesk_maintenance_type_view_tree" model="ir.ui.view">
<field name="name">maintenance.type.tree</field>
<field name="model">maintenance.type</field>
<field name="arch" type="xml">
<tree editable="top">
<field name="name"/>
</tree>
</field>
</record>
<record id= "helpdesk_maintenance_type_act_window" model="ir.actions.act_window">
<field name="name">Tipos de Mantenimiento</field>
<field name="res_model">maintenance.type</field>
<field name="view_mode">tree</field>
</record>
<menuitem
name="Tipos de Mantenimiento"
sequence="20" id="helpdesk_maintenance_type"
parent="helpdesk_morsa.helpdesk_extra_tool_configuration"
action="helpdesk_maintenance.helpdesk_maintenance_type_act_window"/>
</odoo>
\ No newline at end of file
......@@ -32,6 +32,7 @@
'data/modules.xml',
'data/warehouses.xml',
'data/ticket_reason.xml',
'views/menu.xml',
'views/portal/portal_my.xml',
'views/portal/portal_my_ti.xml',
'views/portal/portal_tickets_emergency.xml',
......
......@@ -53,5 +53,10 @@
<field name="perm_unlink" eval="0"/>
</record>
<record id="helpdesk_extra_tools" model="res.groups">
<field name="name">Editor de configuraciones helpdesk</field>
</record>
</data>
</odoo>
\ No newline at end of file
......@@ -20,6 +20,6 @@
<menuitem
name="Sistemas ERP"
sequence="12" id="helpdesk_erp_system"
parent="sh_all_in_one_helpdesk.helpdesk_config_menu"
parent="helpdesk_morsa.helpdesk_extra_tool_configuration"
action="helpdesk_morsa.helpdesk_system_act_window"/>
</odoo>
\ No newline at end of file
......@@ -20,6 +20,6 @@
<menuitem
name="Módulos de mesa de ayuda"
sequence="12" id="helpdesk_erp"
parent="sh_all_in_one_helpdesk.helpdesk_config_menu"
parent="helpdesk_morsa.helpdesk_extra_tool_configuration"
action="helpdesk_morsa.helpdesk_module_act_window"/>
</odoo>
\ No newline at end of file
......@@ -22,6 +22,6 @@
name="Motivos de ticket"
sequence="14"
id="ticket_reason"
parent="sh_all_in_one_helpdesk.helpdesk_config_menu"
parent="helpdesk_morsa.helpdesk_extra_tool_configuration"
action="helpdesk_reason_act_window"/>
</odoo>
\ No newline at end of file
......@@ -22,6 +22,6 @@
<menuitem
name="Sucursales de mesa de ayuda"
sequence="13" id="helpdesk_warehouse"
parent="sh_all_in_one_helpdesk.helpdesk_config_menu"
parent="helpdesk_morsa.helpdesk_extra_tool_configuration"
action="helpdesk_morsa.helpdesk_warehouse_act_window"/>
</odoo>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<menuitem id="helpdesk_extra_tool_configuration" name="Configuraciones Mesa de Ayuda" parent="sh_all_in_one_helpdesk.helpdesk_main_menu" sequence="6" groups="helpdesk_morsa.helpdesk_extra_tools" />
</odoo>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment