[MIG] fetchmail_notify_error_to_sender: Migration to 10.0
parent
698f8fac2e
commit
d040a6142f
|
@ -2,9 +2,9 @@
|
|||
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
|
||||
:alt: License: AGPL-3
|
||||
|
||||
===============================
|
||||
Send notice on fetchmail errors
|
||||
===============================
|
||||
================================
|
||||
Fetchmail Notify Error to Sender
|
||||
================================
|
||||
|
||||
If fetchmail is not able to correctly route an email, the email is
|
||||
"silently" lost (you get an error message in server log).
|
||||
|
@ -57,7 +57,7 @@ Contributors
|
|||
------------
|
||||
|
||||
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
|
||||
* Miquel Raïch <miquel.raich@eficent.com> (migration to v9)
|
||||
* Miquel Raïch <miquel.raich@eficent.com> (migration to v9 and v10)
|
||||
|
||||
Maintainer
|
||||
----------
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
{
|
||||
'name': 'Send notice on fetchmail errors',
|
||||
'name': 'Fetchmail Notify Error to Sender',
|
||||
'summary': 'If fetching mails gives error, send an email to sender',
|
||||
'version': '9.0.1.0.0',
|
||||
'version': '10.0.1.0.0',
|
||||
'category': 'Tools',
|
||||
'author': "Agile Business Group,Eficent,Odoo Community Association (OCA)",
|
||||
'website': 'https://github.com/OCA/server-tools',
|
|
@ -1,6 +1,5 @@
|
|||
<?xml version="1.0" ?>
|
||||
<openerp>
|
||||
<data noupdate="1">
|
||||
<odoo noupdate="1">
|
||||
<!--Email template -->
|
||||
<record id="email_template_error_notice" model="mail.template">
|
||||
<field name="name">Fetchmail - error notice</field>
|
||||
|
@ -22,5 +21,4 @@
|
|||
</div>
|
||||
]]></field>
|
||||
</record>
|
||||
</data>
|
||||
</openerp>
|
||||
</odoo>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from openerp import fields, models
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class FetchmailServer(models.Model):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright 2017 Eficent <http://www.eficent.com>
|
||||
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
||||
|
||||
from openerp import api, models
|
||||
from odoo import api, models
|
||||
|
||||
|
||||
class MailThread(models.AbstractModel):
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<record model="ir.ui.view" id="view_email_server_form">
|
||||
<field name="name">fetchmail.server.form</field>
|
||||
<field name="model">fetchmail.server</field>
|
||||
<field name="inherit_id" ref="fetchmail.view_email_server_form"></field>
|
||||
<field name="inherit_id" ref="fetchmail.view_email_server_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<field name="active" position="after">
|
||||
<field name="error_notice_template_id"/>
|
||||
|
|
Loading…
Reference in New Issue