Browse Source

[ADD] Add security file for web_shortcuts addons

pull/56/head
Adrien Peiffer 10 years ago
parent
commit
7da3558054
  1. 5
      web_shortcuts/__openerp__.py
  2. 2
      web_shortcuts/security/ir.model.access.csv

5
web_shortcuts/__openerp__.py

@ -34,7 +34,10 @@ Add a Shortcut icon besides the views title in order to add/remove a shortcut.
'author': 'OpenERP SA', 'author': 'OpenERP SA',
'website': 'http://openerp.com', 'website': 'http://openerp.com',
'depends': ['base'], 'depends': ['base'],
'data': ['view/web_shortcuts.xml'],
'data': [
'security/ir.model.access.csv',
'view/web_shortcuts.xml',
],
'qweb': ['static/src/xml/web_shortcuts.xml'], 'qweb': ['static/src/xml/web_shortcuts.xml'],
'installable': True, 'installable': True,
'auto_install': False, 'auto_install': False,

2
web_shortcuts/security/ir.model.access.csv

@ -0,0 +1,2 @@
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_web_shortcut,access_web_shortcut,model_web_shortcut,,1,1,1,1
Loading…
Cancel
Save