Browse Source

Improve readme and fix dep

Readme: (in example) prefix function with _
Dep: add a depency to base_setup in order to use xml id "base.menu_config"
pull/780/head
Raph 8 years ago
committed by MonsieurB
parent
commit
10bb96f3bc
  1. 2
      keychain/README.rst
  2. 1
      keychain/__openerp__.py

2
keychain/README.rst

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

1
keychain/__openerp__.py

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

Loading…
Cancel
Save