Commit 99a4d965 by Maria Agustina

detalles transportista

1 parent fad282ac
......@@ -22,7 +22,7 @@ class trans_transportista(models.Model):
)
trans_pagina_web = fields.Char(
string=u'Pagina web',
string=u'Pagina Web',
help='Ingrese su pagina web si es que posee',
)
......@@ -95,7 +95,6 @@ class trans_transportista(models.Model):
index=True,
default= lambda self: self.env.user
)
@api.one
@api.constrains('trans_cuit', 'trans_telefono')
......
......@@ -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"
action="hgt_transportar.trans_tipo_transporte_action_window"/>
<menuitem name="Puntos de retiro" id="hgt_transportar_transportistas_punto_retiro" 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"/>
<!-- 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>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!