Browse Source

[MIG] mail_attach_existing_attachment: Migrated to 10.0

pull/285/head
Damien Bouvy 8 years ago
committed by Holger Brunn
parent
commit
f58cefa1fd
  1. 2
      mail_attach_existing_attachment/README.rst
  2. 4
      mail_attach_existing_attachment/__manifest__.py
  3. 2
      mail_attach_existing_attachment/wizard/mail_compose_message.py
  4. 6
      mail_attach_existing_attachment/wizard/mail_compose_message_view.xml

2
mail_attach_existing_attachment/README.rst

@ -31,7 +31,7 @@ To configure this module, you need to:
.. 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
Known issues / Roadmap Known issues / Roadmap
====================== ======================

4
mail_attach_existing_attachment/__manifest__.py

@ -31,7 +31,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',
@ -40,5 +40,5 @@
'data': [ 'data': [
'wizard/mail_compose_message_view.xml', 'wizard/mail_compose_message_view.xml',
], ],
'installable': False,
'installable': True,
} }

2
mail_attach_existing_attachment/wizard/mail_compose_message.py

@ -23,7 +23,7 @@
# #
############################################################################## ##############################################################################
from openerp import models, fields, api
from odoo import models, fields, api
class MailComposeMessage(models.TransientModel): class MailComposeMessage(models.TransientModel):

6
mail_attach_existing_attachment/wizard/mail_compose_message_view.xml

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<openerp>
<data noupdate="0">
<odoo>
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form"> <record model="ir.ui.view" id="email_compose_message_wizard_inherit_form">
<field name="name">mail.compose.message.form (mail_attach_existing_attachment)</field> <field name="name">mail.compose.message.form (mail_attach_existing_attachment)</field>
<field name="model">mail.compose.message</field> <field name="model">mail.compose.message</field>
@ -15,5 +14,4 @@
</xpath> </xpath>
</field> </field>
</record> </record>
</data>
</openerp>
</odoo>
Loading…
Cancel
Save