Browse Source

[FIX] descriptions and copyright

pull/932/head
Lorenzo Battistini 10 years ago
committed by Jordi Ballester
parent
commit
dcacb62079
  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", 'name': "Fetchmail by Date",
"version": "1.0", "version": "1.0",
'category': 'Mailing', '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': """ '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', 'license': 'AGPL-3',
'depends': ['fetchmail', 'mail'], 'depends': ['fetchmail', 'mail'],
"data": [ "data": [

2
fetchmail_bydate/model/__init__.py

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

7
fetchmail_bydate/model/fetchmail.py

@ -1,7 +1,7 @@
# -*- coding: utf-8 -*- # -*- 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 # Copyright (C) 2015 Agile Business Group http://www.agilebg.com
# @authors # @authors
# Roberto Onnis <roberto.onnis@innoviu.com> # Roberto Onnis <roberto.onnis@innoviu.com>
@ -36,7 +36,10 @@ class FetchmailServer(orm.Model):
_inherit = "fetchmail.server" _inherit = "fetchmail.server"
_columns = { _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, def _fetch_from_date_imap(self, cr, uid,

Loading…
Cancel
Save