mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
Flake8 issues
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#-*- encoding: utf-8 -*-
|
||||
##############################################################################
|
||||
# -*- encoding: utf-8 -*-
|
||||
# #############################################################################
|
||||
#
|
||||
# Web Easy Switch Company module for OpenERP
|
||||
# Copyright (C) 2014 GRAP (http://www.grap.coop)
|
||||
@@ -18,7 +18,7 @@
|
||||
# You should have received a copy of the GNU Affero General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
##############################################################################
|
||||
#############################################################################
|
||||
import openerp
|
||||
import openerp.http as http
|
||||
from openerp.http import request
|
||||
@@ -31,4 +31,4 @@ class WebEasySwitchCompanyController(http.Controller):
|
||||
uid = request.session.uid
|
||||
with registry.cursor() as cr:
|
||||
res = registry.get("res.users").change_current_company(cr, uid, company_id)
|
||||
return res
|
||||
return res
|
||||
|
||||
Reference in New Issue
Block a user