Browse Source
[MIG] mail_optionnal_autofollow: Migrated to 10.0
pull/109/head
Damien Bouvy
8 years ago
No known key found for this signature in database
GPG Key ID: 1D0AB759B4B928E3
4 changed files with
16 additions and
18 deletions
-
mail_optional_autofollow/README.rst
-
mail_optional_autofollow/__manifest__.py
-
mail_optional_autofollow/wizard/mail_compose_message.py
-
mail_optional_autofollow/wizard/mail_compose_message_view.xml
|
@ -22,7 +22,7 @@ Technically, this field is initialized to true if there is a |
|
|
|
|
|
|
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas |
|
|
:alt: Try me on Runbot |
|
|
:alt: Try me on Runbot |
|
|
:target: https://runbot.odoo-community.org/runbot/205/9.0 |
|
|
|
|
|
|
|
|
:target: https://runbot.odoo-community.org/runbot/205/10.0 |
|
|
|
|
|
|
|
|
Bug Tracker |
|
|
Bug Tracker |
|
|
=========== |
|
|
=========== |
|
|
|
@ -10,7 +10,7 @@ |
|
|
'Odoo Community Association (OCA)', |
|
|
'Odoo Community Association (OCA)', |
|
|
'website': "http://acsone.eu", |
|
|
'website': "http://acsone.eu", |
|
|
'category': 'Social Network', |
|
|
'category': 'Social Network', |
|
|
'version': '9.0.1.0.0', |
|
|
|
|
|
|
|
|
'version': '10.0.1.0.0', |
|
|
'license': 'AGPL-3', |
|
|
'license': 'AGPL-3', |
|
|
'depends': [ |
|
|
'depends': [ |
|
|
'mail', |
|
|
'mail', |
|
@ -18,5 +18,5 @@ |
|
|
'data': [ |
|
|
'data': [ |
|
|
'wizard/mail_compose_message_view.xml', |
|
|
'wizard/mail_compose_message_view.xml', |
|
|
], |
|
|
], |
|
|
'installable': False, |
|
|
|
|
|
|
|
|
'installable': True, |
|
|
} |
|
|
} |
|
@ -2,7 +2,7 @@ |
|
|
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) |
|
|
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) |
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). |
|
|
|
|
|
|
|
|
from openerp import models, fields, api |
|
|
|
|
|
|
|
|
from odoo import models, fields, api |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MailComposeMessage(models.TransientModel): |
|
|
class MailComposeMessage(models.TransientModel): |
|
|
|
@ -1,15 +1,13 @@ |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
<openerp> |
|
|
|
|
|
<data noupdate="0"> |
|
|
|
|
|
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form"> |
|
|
|
|
|
<field name="name">mail.compose.message.form (mail_optional_autofollow)</field> |
|
|
|
|
|
<field name="model">mail.compose.message</field> |
|
|
|
|
|
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<xpath expr="//div[field[@name='partner_ids']]" position="after"> |
|
|
|
|
|
<field name="autofollow_recipients" /> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
</data> |
|
|
|
|
|
</openerp> |
|
|
|
|
|
|
|
|
<odoo> |
|
|
|
|
|
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form"> |
|
|
|
|
|
<field name="name">mail.compose.message.form (mail_optional_autofollow)</field> |
|
|
|
|
|
<field name="model">mail.compose.message</field> |
|
|
|
|
|
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<xpath expr="//div[field[@name='partner_ids']]" position="after"> |
|
|
|
|
|
<field name="autofollow_recipients" /> |
|
|
|
|
|
</xpath> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
</odoo> |