diff --git a/mail_to/ ⇐ ⇐ ⇐/README.rst b/mail_to/ ⇐ ⇐ ⇐/README.rst deleted file mode 100644 index 24c2a04..0000000 --- a/mail_to/ ⇐ ⇐ ⇐/README.rst +++ /dev/null @@ -1,16 +0,0 @@ -========================= - Show message recipients -========================= - -Allows you be sure, that all discussion participants were notified. Adds recipients label the right of message. - - -Module is available at Odoo Apps Store: -https://www.odoo.com/apps/modules/13.0/mail_to/ - - We do love FOSS, but sometimes we need to eat ¯\\_(ツ)_/¯ - - Please consider buying the module and get karma and support in return - - `IT Projects Labs Team `__ - diff --git a/mail_to/README.rst b/mail_to/README.rst deleted file mode 100644 index da9ab69..0000000 --- a/mail_to/README.rst +++ /dev/null @@ -1,39 +0,0 @@ -========================= - Show message recipients -========================= - -Allows you be sure, that all discussion participants were notified. Adds recipients label the right of message. - -Credits -======= - -Contributors ------------- -* Pavel Romanchenko - -Sponsors --------- -* `IT-Projects LLC `__ - -Maintainers ------------ -* `IT-Projects LLC `__ - - To get a guaranteed support you are kindly requested to purchase the module at `odoo apps store `__. - - Thank you for understanding! - - `IT-Projects Team `__ - -Further information -=================== - -Demo: http://runbot.it-projects.info/demo/mail-addons/13.0 - -HTML Description: https://apps.odoo.com/apps/modules/13.0/mail_to/ - -Usage instructions: ``_ - -Changelog: ``_ - -Tested on Odoo 12.0 3c40d732bf03c8b656ab170319425f02fddfb2f4 diff --git a/mail_to/__manifest__.py b/mail_to/__manifest__.py deleted file mode 100644 index 589c4cf..0000000 --- a/mail_to/__manifest__.py +++ /dev/null @@ -1,20 +0,0 @@ -{ - "name": """Show message recipients""", - "summary": """Allows you be sure, that all discussion participants were notified""", - "category": "Discuss", - "images": ["images/1.png"], - "version": "13.0.1.0.1", - "author": "IT-Projects LLC, Pavel Romanchenko", - "support": "apps@itpp.dev", - "website": "https://it-projects.info", - "license": "Other OSI approved licence", # MIT - "price": 40.00, - "currency": "EUR", - "depends": ["mail"], - "external_dependencies": {"python": [], "bin": []}, - "data": ["templates.xml"], - "qweb": ["static/src/xml/recipient.xml"], - "demo": [], - "installable": False, - "auto_install": False, -} diff --git a/mail_to/static/description/index.html b/mail_to/static/description/index.html deleted file mode 100644 index 55d8bf9..0000000 --- a/mail_to/static/description/index.html +++ /dev/null @@ -1,66 +0,0 @@ -
-
-
-

Show message recipients

-

Allows you be sure, that all discussion participants were notified

-
-
-
- -
-
-
-
- -
-
-
-

Need our service?

-

Contact us by email or fill out request form

- -
-
-
-
- Tested on Odoo
12.0 community -
-
- Tested on Odoo
12.0 enterprise -
-
-
-
-
diff --git a/mail_to/static/src/xml/recipient.xml b/mail_to/static/src/xml/recipient.xml deleted file mode 100644 index e6d843b..0000000 --- a/mail_to/static/src/xml/recipient.xml +++ /dev/null @@ -1,29 +0,0 @@ - - diff --git a/mail_to/templates.xml b/mail_to/templates.xml deleted file mode 100644 index 846c8c8..0000000 --- a/mail_to/templates.xml +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - diff --git a/mail_to/tests/test_default.py b/mail_to/tests/test_default.py deleted file mode 100644 index c8a4f74..0000000 --- a/mail_to/tests/test_default.py +++ /dev/null @@ -1,53 +0,0 @@ -from werkzeug import url_encode - -import odoo.tests - - -@odoo.tests.common.at_install(True) -@odoo.tests.common.post_install(True) -class TestUi(odoo.tests.HttpCase): - def test_01_mail_to(self): - # checks the presence of an element with a link to the recipient - - env = self.env - # needed because tests are run before the module is marked as - # installed. In js web will only load qweb coming from modules - # that are returned by the backend in module_boot. Without - # this you end up with js, css but no qweb. - env["ir.module.module"].search( - [("name", "=", "mail_to")], limit=1 - ).state = "installed" - - # Handle messages in Odoo - res_users_ids = env["res.users"].search([]) - res_users_ids.write({"notification_type": "inbox"}) - - # demo messages - partner_ids = env["res.partner"].search([]) - msg = env["mail.message"].create( - { - "subject": "_Test", - "body": self._testMethodName, - "subtype_id": self.ref("mail.mt_comment"), - "model": "mail.channel", - "partner_ids": [(6, 0, [i.id for i in partner_ids])], - } - ) - # notifications for everyone - for p in partner_ids.ids: - env["mail.notification"].create( - {"res_partner_id": p, "mail_message_id": msg.id, "is_read": False} - ) - code = """ - setTimeout(function () { - console.log($('a.recipient_link').length && 'ok' || 'error'); - }, 3000); - """ - - link = "/web#%s" % url_encode({"action": "mail.action_discuss"}) - self.phantom_js( - link, - code, - "odoo.__DEBUG__.services['web_tour.tour'].tours.mail_tour.ready", - login="admin", - )