From f3bd6b3baf9e569d96dfba0b490c79a152f90ec1 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 11 Jun 2013 18:59:47 +0200 Subject: [PATCH] Added @nodb where it is required bzr revid: nicolas.vanhoren@openerp.com-20130611165947-36997uizrxtnore0 --- addons/auth_signup/controllers/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/addons/auth_signup/controllers/main.py b/addons/auth_signup/controllers/main.py index 924e1546862..047e5e38e12 100644 --- a/addons/auth_signup/controllers/main.py +++ b/addons/auth_signup/controllers/main.py @@ -23,6 +23,7 @@ import logging import openerp from openerp.modules.registry import RegistryManager from ..res_users import SignupError +from openerp.addons.web.http import nodb, noauth _logger = logging.getLogger(__name__) @@ -30,6 +31,7 @@ class Controller(openerp.addons.web.http.Controller): _cp_path = '/auth_signup' @openerp.addons.web.http.jsonrequest + @nodb def get_config(self, req, dbname): """ retrieve the module config (which features are enabled) for the login page """ registry = RegistryManager.get(dbname)