From 5b02c327025b35aca24156e4c8d60594a4bb9159 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 15 Oct 2014 00:46:07 +0200 Subject: [PATCH 1/3] [FIX] 'web_easy_switch_company' flake8 --- web_easy_switch_company/controllers/main.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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 From 96e6102aec30dac9efe171893445879e78e22012 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 15 Oct 2014 00:47:06 +0200 Subject: [PATCH 2/3] [FIX] 'web_export_view' flake8 --- web_export_view/controllers/controllers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 From d7262cffcba179f664d11c4df8f319ac0ee0e9e8 Mon Sep 17 00:00:00 2001 From: Sylvain LE GAL Date: Wed, 15 Oct 2014 00:52:03 +0200 Subject: [PATCH 3/3] [REF] Readme File : change url --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ===================