Browse Source

[IMP][mail_attach_existing_attachment] Change module name

pull/4/head
Adrien Peiffer (ACSONE) 9 years ago
parent
commit
4578bf4a83
  1. 3
      mail_attach_attachment/tests/__init__.py
  2. 10
      mail_attach_existing_attachment/README.rst
  3. 0
      mail_attach_existing_attachment/__init__.py
  4. 10
      mail_attach_existing_attachment/__openerp__.py
  5. 0
      mail_attach_existing_attachment/static/description/attachment.png
  6. 0
      mail_attach_existing_attachment/static/description/ex_mail_compose_message.png
  7. 3
      mail_attach_existing_attachment/tests/__init__.py
  8. 12
      mail_attach_existing_attachment/tests/test_mail_attach_existing_attachment.py
  9. 0
      mail_attach_existing_attachment/wizard/__init__.py
  10. 8
      mail_attach_existing_attachment/wizard/mail_compose_message.py
  11. 2
      mail_attach_existing_attachment/wizard/mail_compose_message_view.xml

3
mail_attach_attachment/tests/__init__.py

@ -1,3 +0,0 @@
# -*- coding: utf-8 -*-
from . import test_mail_attach_attachment

10
mail_attach_attachment/README.rst → 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 <https://github.com/OCA/social/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 <https://github.com/OCA/social/issues/new?body=module:%20mail_attach_attachment%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
`here <https://github.com/OCA/social/issues/new?body=module:%20mail_attach_existing_attachment%0Aversion:%208.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Credits
=======

0
mail_attach_attachment/__init__.py → mail_attach_existing_attachment/__init__.py

10
mail_attach_attachment/__openerp__.py → 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 (<http://acsone.eu>)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'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)",

0
mail_attach_attachment/static/description/attachment.png → mail_attach_existing_attachment/static/description/attachment.png

Before

Width: 308  |  Height: 96  |  Size: 8.3 KiB

After

Width: 308  |  Height: 96  |  Size: 8.3 KiB

0
mail_attach_attachment/static/description/ex_mail_compose_message.png → mail_attach_existing_attachment/static/description/ex_mail_compose_message.png

Before

Width: 895  |  Height: 561  |  Size: 53 KiB

After

Width: 895  |  Height: 561  |  Size: 53 KiB

3
mail_attach_existing_attachment/tests/__init__.py

@ -0,0 +1,3 @@
# -*- coding: utf-8 -*-
from . import test_mail_attach_existing_attachment

12
mail_attach_attachment/tests/test_mail_attach_attachment.py → 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 (<http://acsone.eu>)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
@ -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')

0
mail_attach_attachment/wizard/__init__.py → mail_attach_existing_attachment/wizard/__init__.py

8
mail_attach_attachment/wizard/mail_compose_message.py → 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 (<http://acsone.eu>)
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################

2
mail_attach_attachment/wizard/mail_compose_message_view.xml → mail_attach_existing_attachment/wizard/mail_compose_message_view.xml

@ -2,7 +2,7 @@
<openerp>
<data noupdate="0">
<record model="ir.ui.view" id="email_compose_message_wizard_inherit_form">
<field name="name">mail.compose.message.form (mail_attach_attachment)</field>
<field name="name">mail.compose.message.form (mail_attach_existing_attachment)</field>
<field name="model">mail.compose.message</field>
<field name="inherit_id" ref="mail.email_compose_message_wizard_form"/>
<field name="arch" type="xml">
Loading…
Cancel
Save