Browse Source

[FIX] Add security to import_odoo_connection to avoid warning on runbot

pull/14/head
Thibault Francois 8 years ago
parent
commit
48af903236
  1. 3
      import_odoo/__openerp__.py
  2. 2
      import_odoo/security/ir.model.access.csv

3
import_odoo/__openerp__.py

@ -31,7 +31,8 @@
'website': 'https://github.com/tfrancoi/',
'depends': ['base', 'import_base'],
'data': [
'view/connector.xml'
'view/connector.xml',
'security/ir.model.access.csv',
],
'test': [], #TODO provide test
'installable': True,

2
import_odoo/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_import_odoo_connection,access_import_odoo_connection,model_import_odoo_connection,,1,0,0,0
Loading…
Cancel
Save