Browse Source
[MIG] mail_as_letter: Migrated to 10.0
pull/100/head
Damien Bouvy
8 years ago
No known key found for this signature in database
GPG Key ID: 1D0AB759B4B928E3
5 changed files with
10 additions and
19 deletions
-
mail_as_letter/README.rst
-
mail_as_letter/__manifest__.py
-
mail_as_letter/report/mail_as_letter_qweb.xml
-
mail_as_letter/wizards/mail_compose_message.py
-
mail_as_letter/wizards/mail_compose_message.xml
|
|
@ -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 |
|
|
|
|
|
@ -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, |
|
|
|
} |
|
|
@ -1,7 +1,5 @@ |
|
|
|
<?xml version="1.0" encoding="UTF-8"?> |
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
|
|
|
|
<odoo> |
|
|
|
<record id="qweb_mail_pdf_export" model="ir.actions.report.xml"> |
|
|
|
<field name="name">mail_as_letter</field> |
|
|
|
<field name="model">mail.compose.message</field> |
|
|
@ -43,6 +41,4 @@ |
|
|
|
</t> |
|
|
|
</t> |
|
|
|
</template> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |
|
|
|
</odoo> |
|
|
@ -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): |
|
|
|
|
|
@ -1,11 +1,8 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<!-- Copyright 2016 ACSONE SA/NV |
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). --> |
|
|
|
|
|
|
|
<openerp> |
|
|
|
<data> |
|
|
|
|
|
|
|
<record model="ir.ui.view" id="mail_compose_message_form_view"> |
|
|
|
<odoo> |
|
|
|
<record id="mail_compose_message_form_view" model="ir.ui.view"> |
|
|
|
<field name="name">mail.compose.message.form (in mail_as_letter)</field> |
|
|
|
<field name="model">mail.compose.message</field> |
|
|
|
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/> |
|
|
@ -22,6 +19,4 @@ |
|
|
|
</button> |
|
|
|
</field> |
|
|
|
</record> |
|
|
|
|
|
|
|
</data> |
|
|
|
</openerp> |
|
|
|
</odoo> |