diff --git a/mail_as_letter/README.rst b/mail_as_letter/README.rst index 94b209d5..4d8168ff 100644 --- a/mail_as_letter/README.rst +++ b/mail_as_letter/README.rst @@ -18,7 +18,7 @@ To use this module, you need to: .. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/{repo_id}/{branch} + :target: https://runbot.odoo-community.org/runbot/205/10.0 .. repo_id is available in https://github.com/OCA/maintainer-tools/blob/master/tools/repos_with_ids.txt .. branch is "8.0" for example diff --git a/mail_as_letter/__manifest__.py b/mail_as_letter/__manifest__.py index 376912ff..fdfcde36 100644 --- a/mail_as_letter/__manifest__.py +++ b/mail_as_letter/__manifest__.py @@ -6,7 +6,7 @@ 'name': 'Mail As Letter', 'summary': """ This module allows to download a mail message as a pdf letter.""", - 'version': '9.0.1.0.0', + 'version': '10.0.1.0.0', 'license': 'AGPL-3', 'author': 'ACSONE SA/NV,Odoo Community Association (OCA)', 'website': 'www.acsone.eu', @@ -19,5 +19,5 @@ ], 'demo': [ ], - 'installable': False, + 'installable': True, } diff --git a/mail_as_letter/report/mail_as_letter_qweb.xml b/mail_as_letter/report/mail_as_letter_qweb.xml index 0a58b8d9..dfdd493a 100644 --- a/mail_as_letter/report/mail_as_letter_qweb.xml +++ b/mail_as_letter/report/mail_as_letter_qweb.xml @@ -1,7 +1,5 @@ - - - + mail_as_letter mail.compose.message @@ -43,6 +41,4 @@ - - - + diff --git a/mail_as_letter/wizards/mail_compose_message.py b/mail_as_letter/wizards/mail_compose_message.py index f78662e0..810c6a4d 100644 --- a/mail_as_letter/wizards/mail_compose_message.py +++ b/mail_as_letter/wizards/mail_compose_message.py @@ -2,8 +2,8 @@ # Copyright 2016 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -from openerp import api, fields, models, _ -from openerp.exceptions import UserError +from odoo import api, fields, models, _ +from odoo.exceptions import UserError class MailComposeMessage(models.TransientModel): diff --git a/mail_as_letter/wizards/mail_compose_message.xml b/mail_as_letter/wizards/mail_compose_message.xml index bfdab74f..8aa35d60 100644 --- a/mail_as_letter/wizards/mail_compose_message.xml +++ b/mail_as_letter/wizards/mail_compose_message.xml @@ -1,11 +1,8 @@ - - - - - + + mail.compose.message.form (in mail_as_letter) mail.compose.message @@ -22,6 +19,4 @@ - - - +