Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Maria Agustina
/
hgt_transportar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 8e040d26
authored
2020-11-04 12:16:28 -0300
by
Maria Agustina
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tarea 136
1 parent
49c0af55
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
9 deletions
__manifest__.py
views/menu_vista.xml
views/transportista_vista.xml
__manifest__.py
View file @
8e040d2
# -*- 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'
:
[
...
...
views/menu_vista.xml
View file @
8e040d2
...
@@ -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>
...
...
views/transportista_vista.xml
View file @
8e040d2
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
</field>
</field>
</record>
</record>
<!-- ac
tions opening views on models
-->
<!-- ac
cion 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>
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment