diff --git a/web_shortcuts/__openerp__.py b/web_shortcuts/__openerp__.py index 180bb58c..b372fff3 100644 --- a/web_shortcuts/__openerp__.py +++ b/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', 'website': 'http://openerp.com', 'depends': ['base'], - 'data': ['view/web_shortcuts.xml'], + 'data': [ + 'security/ir.model.access.csv', + 'view/web_shortcuts.xml', + ], 'qweb': ['static/src/xml/web_shortcuts.xml'], 'installable': True, 'auto_install': False, diff --git a/web_shortcuts/security/ir.model.access.csv b/web_shortcuts/security/ir.model.access.csv new file mode 100644 index 00000000..65ede9fb --- /dev/null +++ b/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 \ No newline at end of file