Browse Source

Merge pull request #733 from akretion/keychain-improve_readme_and_dep

Improve readme and fix dep
pull/745/head
Sylvain LE GAL 8 years ago
committed by GitHub
parent
commit
cab186de44
  1. 2
      keychain/README.rst
  2. 2
      keychain/__openerp__.py

2
keychain/README.rst

@ -99,7 +99,7 @@ Usage (for module dev)
import random import random
def get_auth(self):
def _get_auth(self):
keychain = self.env['keychain.account'] keychain = self.env['keychain.account']
if self.env.user.has_group('stock.group_stock_user'): if self.env.user.has_group('stock.group_stock_user'):
retrieve = keychain.suspend_security().retrieve retrieve = keychain.suspend_security().retrieve

2
keychain/__openerp__.py

@ -16,7 +16,7 @@
'cryptography'], 'cryptography'],
}, },
"depends": [ "depends": [
"base",
"base_setup",
], ],
"data": [ "data": [
"security/ir.model.access.csv", "security/ir.model.access.csv",

Loading…
Cancel
Save