Commit 8e040d26 by Maria Agustina

tarea 136

1 parent 49c0af55
# -*- coding: utf-8 -*-
{
'name': "my_module",
'name': "Transportar",
'summary': """
Short (1 phrase/line) summary of the module's purpose, used as
subtitle on modules listing or apps.openerp.com""",
módulo Transportar para registro de transportistas""",
'description': """
Long description of module's purpose
módulo Transportar para registro de transportistas, tipos de transporte y servicios
""",
'author': "My Company",
'website': "http://www.yourcompany.com",
'author': "HGT",
'website': "http://hgt.anacsoft.com/",
# Categories can be used to filter modules in modules listing
# Check https://github.com/odoo/odoo/blob/master/odoo/addons/base/module/module_data.xml
# for the full list
'category': 'Uncategorized',
'version': '0.1',
'category': 'Specific Industry Applications',
'version': '0.2020.11.4',
# any module necessary for this one to work correctly
'depends': [
......
......@@ -23,6 +23,13 @@
<menuitem name="Puntos de Retiro" id="hgt_transportar_transportistas_punto_retiro" parent="hgt_transportar_config_punto"
action="hgt_transportar.trans_punto_retiro_action_window"/>
<!-- menu Root Desdoblado-->
<menuitem name="Acceso Administrador" sequence='1' id="hgt_transportar.menu_root_desdoblado" groups="module_group_administrador" />
<menuitem name="Transportistas" id="hgt_transportar_transportistas_desdoblado" parent="hgt_transportar.menu_root_desdoblado" groups="module_group_administrador"/>
<!-- actions -->
<menuitem name="Transportistas" id="hgt_transportar_transportistas_transportistas_desdoblado" parent="hgt_transportar_transportistas_desdoblado"
action="hgt_transportar.trans_transportista_desdoblado_action_window" groups="module_group_administrador"/>
</data>
</odoo>
......
......@@ -65,7 +65,7 @@
</field>
</record>
<!-- actions opening views on models -->
<!-- accion con reglas de acceso -->
<record model="ir.actions.act_window" id="hgt_transportar.trans_transportista_action_window">
<field name="name">Transportista</field>
<field name="res_model">trans.transportista</field>
......@@ -73,6 +73,13 @@
<field name="domain">[["ejecutor","=",uid]]</field>
</record>
<!-- accion sin reglas para administrador -->
<record model="ir.actions.act_window" id="hgt_transportar.trans_transportista_desdoblado_action_window">
<field name="name">Transportista</field>
<field name="res_model">trans.transportista</field>
<field name="view_mode">tree,form</field>
</record>
</data>
</odoo>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!