From f17ce549b680348c78b9fda869cbb6374a334fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Alix?= Date: Sat, 19 Nov 2016 22:41:02 +0100 Subject: [PATCH] [8.0] Fix Travis (#616) * [FIX] auth_from_http_remote_user - Lint * [FIX] server_environment - Lint * [FIX] base_module_doc_rst - Lint * [FIX] fetchmail_notify_error_to_sender - Fix XML view, it was the 'active' field from 'fetchmail_attach_from_folder' module which was targeted by mistake (belonging to another data model) --- auth_from_http_remote_user/controllers/main.py | 1 + .../report/ir_module_reference_print_graph.py | 1 + base_module_doc_rst/report/report_proximity_graph.py | 1 + fetchmail_notify_error_to_sender/__openerp__.py | 2 +- fetchmail_notify_error_to_sender/fetchmail_view.xml | 6 +++--- server_environment/serv_config.py | 1 + 6 files changed, 8 insertions(+), 4 deletions(-) diff --git a/auth_from_http_remote_user/controllers/main.py b/auth_from_http_remote_user/controllers/main.py index 85859619a..60f165a22 100644 --- a/auth_from_http_remote_user/controllers/main.py +++ b/auth_from_http_remote_user/controllers/main.py @@ -101,6 +101,7 @@ class Home(main.Home): exc_info=True) raise e + randrange = random.SystemRandom().randrange diff --git a/base_module_doc_rst/report/ir_module_reference_print_graph.py b/base_module_doc_rst/report/ir_module_reference_print_graph.py index 2f101a629..b67dd327b 100644 --- a/base_module_doc_rst/report/ir_module_reference_print_graph.py +++ b/base_module_doc_rst/report/ir_module_reference_print_graph.py @@ -85,6 +85,7 @@ class IrModuleReferencePrintGraph(report_sxw.rml_parse): res = modobj.fields_get(self.cr, self.uid).items() return res + report_sxw.report_sxw( 'report.ir.module.reference.graph', 'ir.module.module', diff --git a/base_module_doc_rst/report/report_proximity_graph.py b/base_module_doc_rst/report/report_proximity_graph.py index 95023bdb6..75a06494a 100644 --- a/base_module_doc_rst/report/report_proximity_graph.py +++ b/base_module_doc_rst/report/report_proximity_graph.py @@ -118,4 +118,5 @@ class ReportGraph(report.interface.report_int): ) return (pdf_string, 'pdf') + ReportGraph('report.proximity.graph', 'ir.module.module') diff --git a/fetchmail_notify_error_to_sender/__openerp__.py b/fetchmail_notify_error_to_sender/__openerp__.py index 3dc0ee4ba..9b75e26b2 100644 --- a/fetchmail_notify_error_to_sender/__openerp__.py +++ b/fetchmail_notify_error_to_sender/__openerp__.py @@ -21,7 +21,7 @@ { 'name': 'Send notice on fetchmail errors', 'summary': 'If fetching mails gives error, send an email to sender', - 'version': '8.0.1.0.0', + 'version': '8.0.1.0.1', 'category': 'Tools', 'author': "Agile Business Group,Odoo Community Association (OCA)", 'website': 'http://www.agilebg.com', diff --git a/fetchmail_notify_error_to_sender/fetchmail_view.xml b/fetchmail_notify_error_to_sender/fetchmail_view.xml index 2364f95ad..c7223b29a 100644 --- a/fetchmail_notify_error_to_sender/fetchmail_view.xml +++ b/fetchmail_notify_error_to_sender/fetchmail_view.xml @@ -7,9 +7,9 @@ fetchmail.server - - - + + + diff --git a/server_environment/serv_config.py b/server_environment/serv_config.py index 9ce642977..971499421 100644 --- a/server_environment/serv_config.py +++ b/server_environment/serv_config.py @@ -101,6 +101,7 @@ def _load_config(): return config_p + serv_config = _load_config()