Commit 9b18c18f by Maria Agustina

permisos ABMS

1 parent d81e8236
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
# always loaded # always loaded
'data': [ 'data': [
'security/permisos.xml',
'security/ir.model.access.csv', 'security/ir.model.access.csv',
'views/transportista_vista.xml', 'views/transportista_vista.xml',
'views/tipo_transporte_vista.xml', 'views/tipo_transporte_vista.xml',
......
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
trans_transportista,access_trans_transportista,model_trans_transportista,,1,1,1,0
trans_tipo_transporte,access_trans_tipo_transporte,model_trans_tipo_transporte,,1,1,1,0
trans_punto_retiro,access_trans_punto_retiro,model_trans_punto_retiro,,1,1,1,0
trans_dias,access_trans_dias,model_trans_dias,,1,1,1,0
\ No newline at end of file \ No newline at end of file
transportista_trans_transportista,access_transportista_trans_transportista,model_trans_transportista,module_group_transportista,1,1,1,0
transportista_trans_tipo_transporte,access_transportista_trans_tipo_transporte,model_trans_tipo_transporte,module_group_transportista,1,1,1,0
transportista_trans_punto_retiro,access_transportista_trans_punto_retiro,model_trans_punto_retiro,module_group_transportista,1,1,1,0
transportista_trans_dias,access_transportista_trans_dias,model_trans_dias,module_group_transportista,1,1,1,0
administrador_trans_transportista,access_administrador_trans_transportista,model_trans_transportista,module_group_administrador,1,1,1,1
administrador_trans_tipo_transporte,access_administrador_trans_tipo_transporte,model_trans_tipo_transporte,module_group_administrador,1,1,1,1
administrador_trans_punto_retiro,access_administrador_trans_punto_retiro,model_trans_punto_retiro,module_group_administrador,1,1,1,1
administrador_trans_dias,access_administrador_trans_dias,model_trans_dias,module_group_administrador,1,1,1,1
\ No newline at end of file \ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<data noupdate="0">
<record model="ir.module.category" id="module_category_hgt_transportar">
<field name="name">Transportar</field>
<field name="description">Transportar</field>
</record>
<record model="res.groups" id="module_group_administrador">
<field name="name">Administrador</field>
<field name="category_id" eval="ref('module_category_hgt_transportar')"/>
</record>
<record model="res.groups" id="module_group_transportista">
<field name="name">Transportista</field>
<field name="category_id" eval="ref('module_category_hgt_transportar')"/>
</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!