diff --git a/fetchmail_bydate/__openerp__.py b/fetchmail_bydate/__openerp__.py index 9d47fd250..e3b2cfa34 100644 --- a/fetchmail_bydate/__openerp__.py +++ b/fetchmail_bydate/__openerp__.py @@ -25,12 +25,18 @@ 'name': "Fetchmail by Date", "version": "1.0", 'category': 'Mailing', - 'summary': 'This module allows to fetch email by last message internal date and unseen messages.', + 'summary': 'Fetchmail by date and unseen messages', 'description': """ - This module allows to fetch email by last message internal date and unseen messages. - """, - 'author': "Innoviu srl, Agile Business Group, Odoo Community Association (OCA)", - 'website': 'http://www.innoviu.it', +This module allows to fetch new emails (using IMAP) using their date, +in addition to 'unseen' status. + +To enable this, you have to set a 'Last Download Date' in the fetchmail.server +After that, emails with an internal date greater than the saved one will be +downloaded. +""", + 'author': "Innoviu, Agile Business Group, " + "Odoo Community Association (OCA)", + 'website': 'http://www.innoviu.com', 'license': 'AGPL-3', 'depends': ['fetchmail', 'mail'], "data": [ diff --git a/fetchmail_bydate/model/__init__.py b/fetchmail_bydate/model/__init__.py index dd501ffb4..8cf9e9c84 100644 --- a/fetchmail_bydate/model/__init__.py +++ b/fetchmail_bydate/model/__init__.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Copyright (C) 2015 Innoviu srl (). +# Copyright (C) 2015 Innoviu srl (). # Copyright (C) 2015 Agile Business Group http://www.agilebg.com # @authors # Roberto Onnis diff --git a/fetchmail_bydate/model/fetchmail.py b/fetchmail_bydate/model/fetchmail.py index 27b1ac9b1..a17c65dfb 100644 --- a/fetchmail_bydate/model/fetchmail.py +++ b/fetchmail_bydate/model/fetchmail.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- ############################################################################## # -# Copyright (C) 2015 Innoviu srl (). +# Copyright (C) 2015 Innoviu srl (). # Copyright (C) 2015 Agile Business Group http://www.agilebg.com # @authors # Roberto Onnis @@ -36,7 +36,10 @@ class FetchmailServer(orm.Model): _inherit = "fetchmail.server" _columns = { - 'last_internal_date': fields.datetime('Last Download Date'), + 'last_internal_date': fields.datetime( + 'Last Download Date', + help="Remote emails with a date greater than this will be " + "downloaded. Only available with IMAP"), } def _fetch_from_date_imap(self, cr, uid,