From 10bb96f3bc903f2d2a8488b1b54d94b86f21970e Mon Sep 17 00:00:00 2001 From: Raph Date: Mon, 13 Feb 2017 14:56:43 +0100 Subject: [PATCH] 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" --- keychain/README.rst | 2 +- keychain/__openerp__.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/keychain/README.rst b/keychain/README.rst index bd25adcfe..1af8ba2cd 100644 --- a/keychain/README.rst +++ b/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 diff --git a/keychain/__openerp__.py b/keychain/__openerp__.py index a43cbe292..b7d1478ee 100644 --- a/keychain/__openerp__.py +++ b/keychain/__openerp__.py @@ -17,6 +17,7 @@ }, "depends": [ "base", + "base_setup", ], "data": [ "security/ir.model.access.csv",