Browse Source

Flake8 issues

pull/18/head
Adil Houmadi 10 years ago
parent
commit
81f5e939d5
  1. 8
      web_easy_switch_company/controllers/main.py

8
web_easy_switch_company/controllers/main.py

@ -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
Loading…
Cancel
Save