diff --git a/mail_attach_attachment/tests/__init__.py b/mail_attach_attachment/tests/__init__.py deleted file mode 100644 index ff811da3..00000000 --- a/mail_attach_attachment/tests/__init__.py +++ /dev/null @@ -1,3 +0,0 @@ -# -*- coding: utf-8 -*- - -from . import test_mail_attach_attachment diff --git a/mail_attach_attachment/README.rst b/mail_attach_existing_attachment/README.rst similarity index 83% rename from mail_attach_attachment/README.rst rename to mail_attach_existing_attachment/README.rst index 23602a20..e21b7498 100644 --- a/mail_attach_attachment/README.rst +++ b/mail_attach_existing_attachment/README.rst @@ -1,8 +1,8 @@ .. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg :alt: License: AGPL-3 -Mail Attach Attachment -====================== +Mail Attach Existing Attachment +=============================== This module was written to add the possibility to add attachments located on the object by sending it by email with the mail compose message wizard @@ -29,6 +29,10 @@ To configure this module, you need to: .. figure:: static/description/ex_mail_compose_message.png :alt: Sends the Purchase Order by email +Known issues / Roadmap +====================== + +The module only allows the addition of attachments linked to the object. Bug Tracker =========== @@ -36,7 +40,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback -`here `_. +`here `_. Credits ======= diff --git a/mail_attach_attachment/__init__.py b/mail_attach_existing_attachment/__init__.py similarity index 100% rename from mail_attach_attachment/__init__.py rename to mail_attach_existing_attachment/__init__.py diff --git a/mail_attach_attachment/__openerp__.py b/mail_attach_existing_attachment/__openerp__.py similarity index 82% rename from mail_attach_attachment/__openerp__.py rename to mail_attach_existing_attachment/__openerp__.py index 72f38bee..c356239b 100644 --- a/mail_attach_attachment/__openerp__.py +++ b/mail_attach_existing_attachment/__openerp__.py @@ -1,29 +1,29 @@ # -*- coding: utf-8 -*- ############################################################################## # -# This file is part of mail_attach_attachment, +# This file is part of mail_attach_existing_attachment, # an Odoo module. # # Copyright (c) 2015 ACSONE SA/NV () # -# mail_attach_attachment is free software: +# mail_attach_existing_attachment is free software: # you can redistribute it and/or modify it under the terms of the GNU # Affero General Public License as published by the Free Software # Foundation,either version 3 of the License, or (at your option) any # later version. # -# mail_attach_attachment is distributed +# mail_attach_existing_attachment is distributed # in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with mail_attach_attachment. +# along with mail_attach_existing_attachment. # If not, see . # ############################################################################## { - 'name': "Mail Attach Attachment", + 'name': "Mail Attach Existing Attachment", 'summary': """ Adding attachment on the object by sending this one""", 'author': "ACSONE SA/NV,Odoo Community Association (OCA)", diff --git a/mail_attach_attachment/static/description/attachment.png b/mail_attach_existing_attachment/static/description/attachment.png similarity index 100% rename from mail_attach_attachment/static/description/attachment.png rename to mail_attach_existing_attachment/static/description/attachment.png diff --git a/mail_attach_attachment/static/description/ex_mail_compose_message.png b/mail_attach_existing_attachment/static/description/ex_mail_compose_message.png similarity index 100% rename from mail_attach_attachment/static/description/ex_mail_compose_message.png rename to mail_attach_existing_attachment/static/description/ex_mail_compose_message.png diff --git a/mail_attach_existing_attachment/tests/__init__.py b/mail_attach_existing_attachment/tests/__init__.py new file mode 100644 index 00000000..26c2cf04 --- /dev/null +++ b/mail_attach_existing_attachment/tests/__init__.py @@ -0,0 +1,3 @@ +# -*- coding: utf-8 -*- + +from . import test_mail_attach_existing_attachment diff --git a/mail_attach_attachment/tests/test_mail_attach_attachment.py b/mail_attach_existing_attachment/tests/test_mail_attach_existing_attachment.py similarity index 84% rename from mail_attach_attachment/tests/test_mail_attach_attachment.py rename to mail_attach_existing_attachment/tests/test_mail_attach_existing_attachment.py index 19b128ce..eed39bc3 100644 --- a/mail_attach_attachment/tests/test_mail_attach_attachment.py +++ b/mail_attach_existing_attachment/tests/test_mail_attach_existing_attachment.py @@ -1,24 +1,24 @@ # -*- coding: utf-8 -*- ############################################################################## # -# This file is part of mail_attach_attachment, +# This file is part of mail_attach_existing_attachment, # an Odoo module. # # Copyright (c) 2015 ACSONE SA/NV () # -# mail_attach_attachment is free software: +# mail_attach_existing_attachment is free software: # you can redistribute it and/or modify it under the terms of the GNU # Affero General Public License as published by the Free Software # Foundation,either version 3 of the License, or (at your option) any # later version. # -# mail_attach_attachment is distributed +# mail_attach_existing_attachment is distributed # in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with mail_attach_attachment. +# along with mail_attach_existing_attachment. # If not, see . # ############################################################################## @@ -26,10 +26,10 @@ from openerp.tests import common -class TestAttachAttachment(common.TransactionCase): +class TestAttachExistingAttachment(common.TransactionCase): def setUp(self): - super(TestAttachAttachment, self).setUp() + super(TestAttachExistingAttachment, self).setUp() self.partner_obj = self.env['res.partner'] self.partner_01 = self.env.ref('base.res_partner_1') diff --git a/mail_attach_attachment/wizard/__init__.py b/mail_attach_existing_attachment/wizard/__init__.py similarity index 100% rename from mail_attach_attachment/wizard/__init__.py rename to mail_attach_existing_attachment/wizard/__init__.py diff --git a/mail_attach_attachment/wizard/mail_compose_message.py b/mail_attach_existing_attachment/wizard/mail_compose_message.py similarity index 90% rename from mail_attach_attachment/wizard/mail_compose_message.py rename to mail_attach_existing_attachment/wizard/mail_compose_message.py index 62441dd8..4c7d43f3 100644 --- a/mail_attach_attachment/wizard/mail_compose_message.py +++ b/mail_attach_existing_attachment/wizard/mail_compose_message.py @@ -1,24 +1,24 @@ # -*- coding: utf-8 -*- ############################################################################## # -# This file is part of mail_attach_attachment, +# This file is part of mail_attach_existing_attachment, # an Odoo module. # # Copyright (c) 2015 ACSONE SA/NV () # -# mail_attach_attachment is free software: +# mail_attach_existing_attachment is free software: # you can redistribute it and/or modify it under the terms of the GNU # Affero General Public License as published by the Free Software # Foundation,either version 3 of the License, or (at your option) any # later version. # -# mail_attach_attachment is distributed +# mail_attach_existing_attachment is distributed # in the hope that it will be useful, but WITHOUT ANY WARRANTY; without # even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR # PURPOSE. See the GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License -# along with mail_attach_attachment. +# along with mail_attach_existing_attachment. # If not, see . # ############################################################################## diff --git a/mail_attach_attachment/wizard/mail_compose_message_view.xml b/mail_attach_existing_attachment/wizard/mail_compose_message_view.xml similarity index 95% rename from mail_attach_attachment/wizard/mail_compose_message_view.xml rename to mail_attach_existing_attachment/wizard/mail_compose_message_view.xml index 820de00d..aa10025b 100644 --- a/mail_attach_attachment/wizard/mail_compose_message_view.xml +++ b/mail_attach_existing_attachment/wizard/mail_compose_message_view.xml @@ -2,7 +2,7 @@ - mail.compose.message.form (mail_attach_attachment) + mail.compose.message.form (mail_attach_existing_attachment) mail.compose.message