Browse Source

[FIX] descriptions and copyright

pull/140/head
Lorenzo Battistini 10 years ago
parent
commit
200863a416
  1. 14
      fetchmail_bydate/__openerp__.py
  2. 2
      fetchmail_bydate/model/__init__.py
  3. 7
      fetchmail_bydate/model/fetchmail.py

14
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.
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 srl, Agile Business Group, Odoo Community Association (OCA)",
'website': 'http://www.innoviu.it',
'author': "Innoviu, Agile Business Group, "
"Odoo Community Association (OCA)",
'website': 'http://www.innoviu.com',
'license': 'AGPL-3',
'depends': ['fetchmail', 'mail'],
"data": [

2
fetchmail_bydate/model/__init__.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Innoviu srl (<http://www.innoviu.it>).
# Copyright (C) 2015 Innoviu srl (<http://www.innoviu.com>).
# Copyright (C) 2015 Agile Business Group http://www.agilebg.com
# @authors
# Roberto Onnis <roberto.onnis@innoviu.com>

7
fetchmail_bydate/model/fetchmail.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Innoviu srl (<http://www.innoviu.it>).
# Copyright (C) 2015 Innoviu srl (<http://www.innoviu.com>).
# Copyright (C) 2015 Agile Business Group http://www.agilebg.com
# @authors
# Roberto Onnis <roberto.onnis@innoviu.com>
@ -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,

Loading…
Cancel
Save