Commit 8e040d26 by Maria Agustina

tarea 136

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