Browse Source

[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)
pull/533/merge
Sébastien Alix 8 years ago
committed by Pedro M. Baeza
parent
commit
f17ce549b6
  1. 1
      auth_from_http_remote_user/controllers/main.py
  2. 1
      base_module_doc_rst/report/ir_module_reference_print_graph.py
  3. 1
      base_module_doc_rst/report/report_proximity_graph.py
  4. 2
      fetchmail_notify_error_to_sender/__openerp__.py
  5. 6
      fetchmail_notify_error_to_sender/fetchmail_view.xml
  6. 1
      server_environment/serv_config.py

1
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

1
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',

1
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')

2
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',

6
fetchmail_notify_error_to_sender/fetchmail_view.xml

@ -7,9 +7,9 @@
<field name="model">fetchmail.server</field>
<field name="inherit_id" ref="fetchmail.view_email_server_form"></field>
<field name="arch" type="xml">
<field name="active" position="after">
<field name="error_notice_template_id"></field>
</field>
<xpath expr="//page[@string='Advanced']/group/field[@name='active']" position="after">
<field name="error_notice_template_id"/>
</xpath>
</field>
</record>
</data>

1
server_environment/serv_config.py

@ -101,6 +101,7 @@ def _load_config():
return config_p
serv_config = _load_config()

Loading…
Cancel
Save