diff --git a/README.md b/README.md index df3f2a6c..efaf7746 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -[![Build Status](https://travis-ci.org/OCA/web.svg?branch=master)](https://travis-ci.org/OCA/web) -[![Coverage Status](https://img.shields.io/coveralls/OCA/web.svg)](https://coveralls.io/r/OCA/web?branch=master) +[![Build Status](https://travis-ci.org/OCA/web.svg?branch=8.0)](https://travis-ci.org/OCA/web) +[![Coverage Status](https://coveralls.io/repos/OCA/web/badge.png?branch=8.0)](https://coveralls.io/r/OCA/web?branch=8.0) Web addons for Odoo =================== diff --git a/web_easy_switch_company/controllers/main.py b/web_easy_switch_company/controllers/main.py index 346d7eb7..87221880 100644 --- a/web_easy_switch_company/controllers/main.py +++ b/web_easy_switch_company/controllers/main.py @@ -25,10 +25,14 @@ from openerp.http import request class WebEasySwitchCompanyController(http.Controller): - @http.route('/web_easy_switch_company/switch/change_current_company', type='json', auth='none') + @http.route( + '/web_easy_switch_company/switch/change_current_company', + type='json', auth='none') def change_current_company(self, company_id): - registry = openerp.modules.registry.RegistryManager.get(request.session.db) + registry = openerp.modules.registry.RegistryManager.get( + request.session.db) uid = request.session.uid with registry.cursor() as cr: - res = registry.get("res.users").change_current_company(cr, uid, company_id) + res = registry.get("res.users").change_current_company( + cr, uid, company_id) return res diff --git a/web_export_view/controllers/controllers.py b/web_export_view/controllers/controllers.py index 3aa17857..15148edb 100644 --- a/web_export_view/controllers/controllers.py +++ b/web_export_view/controllers/controllers.py @@ -2,7 +2,8 @@ ############################################################################## # # Copyright (C) 2012 Domsense srl () -# Copyright (C) 2012-2013 Agile Business Group sagl () +# Copyright (C) 2012-2013: +# Agile Business Group sagl () # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published