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 9b18c18f
authored
2020-10-23 16:00:09 -0300
by
Maria Agustina
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
permisos ABMS
1 parent
d81e8236
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
4 deletions
__manifest__.py
security/ir.model.access.csv
security/permisos.xml
__manifest__.py
View file @
9b18c18
...
...
@@ -28,6 +28,7 @@
# always loaded
'data'
:
[
'security/permisos.xml'
,
'security/ir.model.access.csv'
,
'views/transportista_vista.xml'
,
'views/tipo_transporte_vista.xml'
,
...
...
security/ir.model.access.csv
View file @
9b18c18
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
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
security/permisos.xml
0 → 100644
View file @
9b18c18
<?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>
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