Skip to content

Commit

Permalink
[MERGE] forward port of branch 8.0 up to 9ac62d7
Browse files Browse the repository at this point in the history
  • Loading branch information
KangOl committed Jul 16, 2015
2 parents 1240e2a + 9ac62d7 commit 1510a81
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 11 deletions.
4 changes: 4 additions & 0 deletions addons/fetchmail/fetchmail.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
##############################################################################

import logging
import poplib
import time
from imaplib import IMAP4
from imaplib import IMAP4_SSL
Expand All @@ -42,6 +43,9 @@
_logger = logging.getLogger(__name__)
MAX_POP_MESSAGES = 50

# Workaround for Python 2.7.8 bug https://bugs.python.org/issue23906
poplib._MAXLINE = 65536

class fetchmail_server(osv.osv):
"""Incoming POP/IMAP mail server account"""
_name = 'fetchmail.server'
Expand Down
2 changes: 1 addition & 1 deletion addons/mail/static/src/js/mail.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ openerp.mail = function (session) {
};

self.do_action(action, {
'on_close': function(){ self.parent_thread.message_fetch() }
'on_close': function(){ self.is_log && self.parent_thread.message_fetch() }
});
self.on_cancel();
});
Expand Down
6 changes: 3 additions & 3 deletions addons/payment_ogone/models/ogone.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,9 +306,9 @@ def _ogone_form_validate(self, cr, uid, tx, data, context=None):
})
else:
error = 'Ogone: feedback error: %(error_str)s\n\n%(error_code)s: %(error_msg)s' % {
'error_str': data.get('NCERROR'),
'error_code': data.get('NCERRORPLUS'),
'error_msg': ogone.OGONE_ERROR_MAP.get(data.get('NCERRORPLUS')),
'error_str': data.get('NCERRORPLUS'),
'error_code': data.get('NCERROR'),
'error_msg': ogone.OGONE_ERROR_MAP.get(data.get('NCERROR')),
}
_logger.info(error)
tx.write({
Expand Down
20 changes: 20 additions & 0 deletions doc/cla/corporate/credativ.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
United Kingdom, 2015-06-12

Credativ Limited agrees to the terms of the Odoo Corporate Contributor License
Agreement v1.0.

I declare that I am authorized and able to make this agreement and sign this
declaration.

Signed,

Irenie White irenie.white@credativ.co.uk

List of contributors:

Craig Gowing craig.gowing@credativ.co.uk https://github.com/craiggowing
David Spautz david.spautz@credativ.co.uk https://github.com/dspautz
Jacob Hicks jacob.hicks@credativ.co.uk https://github.com/JaHicks
Ondřej Kuzník ondrej.kuznik@credativ.co.uk https://github.com/mistotebe
Kinner Vachhani kinner.vachhani@credativ.co.uk https://github.com/kenvac
Tom Pickering tom.pickering@credativ.co.uk https://github.com/tompickering
11 changes: 11 additions & 0 deletions doc/cla/individual/archetipo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Italy, 2015-07-14

I hereby agree to the terms of the Odoo Individual Contributor License
Agreement v1.0.

I declare that I am authorized and able to make this agreement and sign this
declaration.

Signed,

Alessio Gerace alessio.gerace@gmail.com https://github.com/archetipo
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pytz==2014.10
pyusb==1.0.0b2
qrcode==5.1
reportlab==3.1.44
requests==2.5.1
requests==2.6.0
simplejson==3.6.5
six==1.9.0
suds-jurko==0.6
Expand Down
3 changes: 0 additions & 3 deletions setup/package.dfdebian
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
FROM debian:jessie
MAINTAINER Odoo S.A. <info@odoo.com>

# Change policy-rc.d so that services start automatically once installed
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d

RUN apt-get update && \
apt-get install -y locales && \
rm -rf /var/lib/apt/lists/*
Expand Down
4 changes: 1 addition & 3 deletions setup/package.dfsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
FROM debian:jessie
MAINTAINER Odoo S.A. <info@odoo.com>

# Change policy-rc.d so that services start automatically once installed
RUN echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d

RUN apt-get update && \
apt-get install -y locales && \
rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -33,6 +30,7 @@ RUN apt-get update -qq && \
python-pip \
build-essential \
python -y && \
easy_install --upgrade pip && \
rm -rf /var/lib/apt/lists/*

RUN pip install --upgrade pip
Expand Down

0 comments on commit 1510a81

Please sign in to comment.