[MIG] fetchmail_notify_error_to_sender: Migration to 11.0
parent
541ee218e2
commit
00d8b575a7
|
@ -35,7 +35,7 @@ Usage
|
|||
|
||||
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
|
||||
:alt: Try me on Runbot
|
||||
:target: https://runbot.odoo-community.org/runbot/149/9.0
|
||||
:target: https://runbot.odoo-community.org/runbot/149/11.0
|
||||
|
||||
Bug Tracker
|
||||
===========
|
||||
|
@ -58,6 +58,7 @@ Contributors
|
|||
|
||||
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
* Miquel Raïch <miquel.raich@eficent.com> (migration to v9 and v10)
|
||||
* Hai Dinh <haidd.uit@gmail.com> (migration to V11)
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import models
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# Copyright 2018 Hai Dinh <haidd.uit@gmail.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
'name': 'Fetchmail Notify Error to Sender',
|
||||
'summary': 'If fetching mails gives error, send an email to sender',
|
||||
'version': '10.0.1.0.0',
|
||||
'version': '11.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'author': "Agile Business Group,Eficent,Odoo Community Association (OCA)",
|
||||
'author':
|
||||
"Agile Business Group,Eficent,Odoo Community Association (OCA)",
|
||||
'website': 'https://github.com/OCA/server-tools',
|
||||
'license': 'AGPL-3',
|
||||
'depends': [
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from . import fetchmail
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015 Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# Copyright 2018 Hai Dinh <haidd.uit@gmail.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class FetchmailServer(models.Model):
|
||||
|
||||
_inherit = 'fetchmail.server'
|
||||
|
||||
error_notice_template_id = fields.Many2one(
|
||||
'mail.template', string="Error notice template",
|
||||
help="Set here the template to use to send notice to sender when "
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2015-2017 Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# Copyright 2018 Hai Dinh <haidd.uit@gmail.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from odoo import api, models
|
||||
|
|
Loading…
Reference in New Issue