Skip to content

Commit f17ce54

Browse files
sebalixpedrobaeza
authored andcommitted
[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)
1 parent 060b21d commit f17ce54

File tree

6 files changed

+8
-4
lines changed

6 files changed

+8
-4
lines changed

auth_from_http_remote_user/controllers/main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def _bind_http_remote_user(self, db_name):
101101
exc_info=True)
102102
raise e
103103

104+
104105
randrange = random.SystemRandom().randrange
105106

106107

base_module_doc_rst/report/ir_module_reference_print_graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ def _fields_find(self, obj):
8585
res = modobj.fields_get(self.cr, self.uid).items()
8686
return res
8787

88+
8889
report_sxw.report_sxw(
8990
'report.ir.module.reference.graph',
9091
'ir.module.module',

base_module_doc_rst/report/report_proximity_graph.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,5 @@ def create(self, cr, uid, ids, data, context=None):
118118
)
119119
return (pdf_string, 'pdf')
120120

121+
121122
ReportGraph('report.proximity.graph', 'ir.module.module')

fetchmail_notify_error_to_sender/__openerp__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{
2222
'name': 'Send notice on fetchmail errors',
2323
'summary': 'If fetching mails gives error, send an email to sender',
24-
'version': '8.0.1.0.0',
24+
'version': '8.0.1.0.1',
2525
'category': 'Tools',
2626
'author': "Agile Business Group,Odoo Community Association (OCA)",
2727
'website': 'http://www.agilebg.com',

fetchmail_notify_error_to_sender/fetchmail_view.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
<field name="model">fetchmail.server</field>
88
<field name="inherit_id" ref="fetchmail.view_email_server_form"></field>
99
<field name="arch" type="xml">
10-
<field name="active" position="after">
11-
<field name="error_notice_template_id"></field>
12-
</field>
10+
<xpath expr="//page[@string='Advanced']/group/field[@name='active']" position="after">
11+
<field name="error_notice_template_id"/>
12+
</xpath>
1313
</field>
1414
</record>
1515
</data>

server_environment/serv_config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ def _load_config():
101101

102102
return config_p
103103

104+
104105
serv_config = _load_config()
105106

106107

0 commit comments

Comments
 (0)