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 99a4d965
authored
2020-10-26 10:44:45 -0300
by
Maria Agustina
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
detalles transportista
1 parent
fad282ac
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
models/__pycache__/transportista.cpython-36.pyc
models/transportista.py
views/menu_vista.xml
models/__pycache__/transportista.cpython-36.pyc
View file @
99a4d96
No preview for this file type
models/transportista.py
View file @
99a4d96
...
...
@@ -22,7 +22,7 @@ class trans_transportista(models.Model):
)
trans_pagina_web
=
fields
.
Char
(
string
=
u'Pagina
w
eb'
,
string
=
u'Pagina
W
eb'
,
help
=
'Ingrese su pagina web si es que posee'
,
)
...
...
@@ -96,7 +96,6 @@ class trans_transportista(models.Model):
default
=
lambda
self
:
self
.
env
.
user
)
@api.one
@api.constrains
(
'trans_cuit'
,
'trans_telefono'
)
def
_requerir_valores
(
self
):
...
...
views/menu_vista.xml
View file @
99a4d96
...
...
@@ -3,19 +3,24 @@
<data
noupdate=
"0"
>
<!-- menu Root -->
<menuitem
name=
"Transportar"
id=
"hgt_transportar.menu_root"
/>
<menuitem
name=
"Transportar"
sequence=
'10'
id=
"hgt_transportar.menu_root"
/>
<!-- menu categories -->
<menuitem
name=
"Transportistas"
id=
"hgt_transportar_transportistas"
parent=
"hgt_transportar.menu_root"
/>
<!-- actions -->
<menuitem
name=
"Transportistas"
id=
"hgt_transportar_transportistas_transportistas"
parent=
"hgt_transportar_transportistas"
action=
"hgt_transportar.trans_transportista_action_window"
/>
<menuitem
name=
"Tipos de transporte"
id=
"hgt_transportar_transportistas_tipo_transporte"
parent=
"hgt_transportar_transportistas"
<!-- menu Root -->
<menuitem
name=
"Configuracion"
sequence=
'20'
id=
"hgt_transportar.menu_root_configurar"
groups=
"module_group_administrador"
/>
<!-- menu categories -->
<menuitem
name=
"Tipos de Transporte"
id=
"hgt_transportar_config_tipo"
parent=
"hgt_transportar.menu_root_configurar"
/>
<!-- actions -->
<menuitem
name=
"Tipos de transporte"
id=
"hgt_transportar_transportistas_tipo_transporte"
parent=
"hgt_transportar_config_tipo"
action=
"hgt_transportar.trans_tipo_transporte_action_window"
/>
<menuitem
name=
"Puntos de retiro"
id=
"hgt_transportar_transportistas_punto_retiro"
parent=
"hgt_transportar_transportistas"
<!-- menu categories -->
<menuitem
name=
"Puntos de Retiro"
id=
"hgt_transportar_config_punto"
parent=
"hgt_transportar.menu_root_configurar"
/>
<!-- actions -->
<menuitem
name=
"Puntos de retiro"
id=
"hgt_transportar_transportistas_punto_retiro"
parent=
"hgt_transportar_config_punto"
action=
"hgt_transportar.trans_punto_retiro_action_window"
/>
</data>
...
...
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