Ivan Yelizariev
5 years ago
No known key found for this signature in database
GPG Key ID: 93F14FB6A8B57057
19 changed files with
35 additions and
35 deletions
-
mail_all/__manifest__.py
-
mail_archives/__manifest__.py
-
mail_base/__manifest__.py
-
mail_check_immediately/__manifest__.py
-
mail_move_message/__manifest__.py
-
mail_move_message/mail_move_message_models.py
-
mail_multi_website/__manifest__.py
-
mail_multi_website/tests/test_fetch.py
-
mail_multi_website/tests/test_render.py
-
mail_multi_website/tests/test_send.py
-
mail_private/__manifest__.py
-
mail_recovery/__manifest__.py
-
mail_reply/__manifest__.py
-
mail_sent/__manifest__.py
-
mail_to/__manifest__.py
-
mail_to/tests/test_default.py
-
mailgun/__manifest__.py
-
res_partner_company_messages/__manifest__.py
-
res_partner_mails_count/__manifest__.py
|
|
@ -18,8 +18,8 @@ |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail"], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["views/templates.xml",], |
|
|
|
"qweb": ["static/src/xml/menu.xml",], |
|
|
|
"data": ["views/templates.xml"], |
|
|
|
"qweb": ["static/src/xml/menu.xml"], |
|
|
|
"demo": [], |
|
|
|
"post_load": None, |
|
|
|
"pre_init_hook": None, |
|
|
|
|
|
@ -10,8 +10,8 @@ |
|
|
|
"license": "LGPL-3", |
|
|
|
"price": 40.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail",], |
|
|
|
"data": ["views/templates.xml",], |
|
|
|
"qweb": ["static/src/xml/menu.xml",], |
|
|
|
"depends": ["mail"], |
|
|
|
"data": ["views/templates.xml"], |
|
|
|
"qweb": ["static/src/xml/menu.xml"], |
|
|
|
"installable": True, |
|
|
|
} |
|
|
@ -11,6 +11,6 @@ |
|
|
|
"price": 9.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["base", "mail"], |
|
|
|
"data": ["views/templates.xml",], |
|
|
|
"data": ["views/templates.xml"], |
|
|
|
"installable": False, |
|
|
|
} |
|
|
@ -9,7 +9,7 @@ |
|
|
|
"price": 9.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["base", "web", "fetchmail", "mail"], |
|
|
|
"data": ["views.xml",], |
|
|
|
"qweb": ["static/src/xml/main.xml",], |
|
|
|
"data": ["views.xml"], |
|
|
|
"qweb": ["static/src/xml/main.xml"], |
|
|
|
"installable": False, |
|
|
|
} |
|
|
@ -16,8 +16,8 @@ |
|
|
|
"website": "https://twitter.com/yelizariev", |
|
|
|
"price": 100.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail_all",], |
|
|
|
"data": ["mail_move_message_views.xml", "data/mail_move_message_data.xml",], |
|
|
|
"qweb": ["static/src/xml/mail_move_message_main.xml",], |
|
|
|
"depends": ["mail_all"], |
|
|
|
"data": ["mail_move_message_views.xml", "data/mail_move_message_data.xml"], |
|
|
|
"qweb": ["static/src/xml/mail_move_message_main.xml"], |
|
|
|
"installable": False, |
|
|
|
} |
|
|
@ -430,7 +430,7 @@ class MailMessage(models.Model): |
|
|
|
return |
|
|
|
if not self.author_id: |
|
|
|
self.write( |
|
|
|
{"author_id": author.id,} |
|
|
|
{"author_id": author.id} |
|
|
|
) |
|
|
|
|
|
|
|
vals = {} |
|
|
@ -464,7 +464,7 @@ class MailMessage(models.Model): |
|
|
|
"is_read": False, |
|
|
|
} |
|
|
|
self.write( |
|
|
|
{"notification_ids": [(0, 0, notification)],} |
|
|
|
{"notification_ids": [(0, 0, notification)]} |
|
|
|
) |
|
|
|
|
|
|
|
for r in self.all_child_ids: |
|
|
|
|
|
@ -22,7 +22,7 @@ |
|
|
|
"test_mail", |
|
|
|
], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["views/website_views.xml",], |
|
|
|
"data": ["views/website_views.xml"], |
|
|
|
"demo": [], |
|
|
|
"qweb": [], |
|
|
|
"post_load": None, |
|
|
|
|
|
@ -14,7 +14,7 @@ class TestFetch(TestMail): |
|
|
|
def setUp(self): |
|
|
|
super(TestFetch, self).setUp() |
|
|
|
self.website = self.env["website"].create( |
|
|
|
{"name": "Test Website", "domain": "example.com",} |
|
|
|
{"name": "Test Website", "domain": "example.com"} |
|
|
|
) |
|
|
|
self.company = self.env["res.company"].create({"name": "New Test Website"}) |
|
|
|
self.website.company_id = self.company |
|
|
|
|
|
@ -22,7 +22,7 @@ class TestRender(TestMail): |
|
|
|
self.company = self.env["res.company"].create({"name": "New Test Website"}) |
|
|
|
self.website.company_id = self.company |
|
|
|
self.mail_server_id = self.env["ir.mail_server"].create( |
|
|
|
{"name": "mail server", "smtp_host": "mail.example.com",} |
|
|
|
{"name": "mail server", "smtp_host": "mail.example.com"} |
|
|
|
) |
|
|
|
self.website.mail_server_id = self.mail_server_id |
|
|
|
|
|
|
@ -84,7 +84,7 @@ class TestRender(TestMail): |
|
|
|
|
|
|
|
self.env.user.backend_website_id = None |
|
|
|
TestModel = self.env["mail.test"].with_context( |
|
|
|
{"mail_create_nolog": True, "mail_create_nosubscribe": True,} |
|
|
|
{"mail_create_nolog": True, "mail_create_nosubscribe": True} |
|
|
|
) |
|
|
|
self.test_pigs = TestModel.create( |
|
|
|
{ |
|
|
|
|
|
@ -57,7 +57,7 @@ class TestSendMail(TransactionCase): |
|
|
|
original_email = "original@email1" |
|
|
|
new_email = "new@email2" |
|
|
|
partner = self.env["res.partner"].create( |
|
|
|
{"name": "test", "email": original_email,} |
|
|
|
{"name": "test", "email": original_email} |
|
|
|
) |
|
|
|
self.switch_user_website() |
|
|
|
# update partner's email |
|
|
|
|
|
@ -17,9 +17,9 @@ |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail"], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["template.xml", "full_composer_wizard.xml",], |
|
|
|
"data": ["template.xml", "full_composer_wizard.xml"], |
|
|
|
"demo": [], |
|
|
|
"qweb": ["static/src/xml/mail_private.xml",], |
|
|
|
"qweb": ["static/src/xml/mail_private.xml"], |
|
|
|
"post_load": None, |
|
|
|
"pre_init_hook": None, |
|
|
|
"post_init_hook": None, |
|
|
|
|
|
@ -11,6 +11,6 @@ |
|
|
|
"images": ["images/mail_recovery.png"], |
|
|
|
"vesion": "12.0.1.0.0", |
|
|
|
"depends": ["mail"], |
|
|
|
"data": ["data.xml",], |
|
|
|
"data": ["data.xml"], |
|
|
|
"installable": False, |
|
|
|
} |
|
|
@ -10,10 +10,10 @@ |
|
|
|
"license": "LGPL-3", |
|
|
|
"price": 40.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail_base",], |
|
|
|
"depends": ["mail_base"], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["templates.xml"], |
|
|
|
"qweb": ["static/src/xml/reply_button.xml",], |
|
|
|
"qweb": ["static/src/xml/reply_button.xml"], |
|
|
|
"demo": [], |
|
|
|
"installable": False, |
|
|
|
"auto_install": False, |
|
|
|
|
|
@ -13,8 +13,8 @@ |
|
|
|
"license": "LGPL-3", |
|
|
|
"price": 40.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail",], |
|
|
|
"data": ["views/templates.xml",], |
|
|
|
"qweb": ["static/src/xml/menu.xml",], |
|
|
|
"depends": ["mail"], |
|
|
|
"data": ["views/templates.xml"], |
|
|
|
"qweb": ["static/src/xml/menu.xml"], |
|
|
|
"installable": True, |
|
|
|
} |
|
|
@ -10,10 +10,10 @@ |
|
|
|
"license": "LGPL-3", |
|
|
|
"price": 40.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail",], |
|
|
|
"depends": ["mail"], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["templates.xml",], |
|
|
|
"qweb": ["static/src/xml/recipient.xml",], |
|
|
|
"data": ["templates.xml"], |
|
|
|
"qweb": ["static/src/xml/recipient.xml"], |
|
|
|
"demo": [], |
|
|
|
"installable": True, |
|
|
|
"auto_install": False, |
|
|
|
|
|
@ -36,7 +36,7 @@ class TestUi(odoo.tests.HttpCase): |
|
|
|
# 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,} |
|
|
|
{"res_partner_id": p, "mail_message_id": msg.id, "is_read": False} |
|
|
|
) |
|
|
|
code = """ |
|
|
|
setTimeout(function () { |
|
|
|
|
|
@ -14,9 +14,9 @@ |
|
|
|
"license": "LGPL-3", |
|
|
|
"price": 389.00, |
|
|
|
"currency": "EUR", |
|
|
|
"depends": ["mail",], |
|
|
|
"depends": ["mail"], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["data/ir_cron_data.xml",], |
|
|
|
"data": ["data/ir_cron_data.xml"], |
|
|
|
"demo": [], |
|
|
|
"qweb": [], |
|
|
|
"post_load": None, |
|
|
@ -30,5 +30,5 @@ |
|
|
|
"demo_addons_hidden": [], |
|
|
|
"demo_url": "mailgun", |
|
|
|
"demo_summary": "Easy to send outgoing and fetch incoming messages by using Mailgun", |
|
|
|
"demo_images": ["images/mailgun_main.png",], |
|
|
|
"demo_images": ["images/mailgun_main.png"], |
|
|
|
} |
|
|
@ -10,6 +10,6 @@ |
|
|
|
"website": "https://twitter.com/yelizariev", |
|
|
|
"images": ["images/child.png", "images/parent.png"], |
|
|
|
"depends": ["mail"], |
|
|
|
"data": ["views.xml",], |
|
|
|
"data": ["views.xml"], |
|
|
|
"installable": False, |
|
|
|
} |
|
|
@ -15,7 +15,7 @@ |
|
|
|
# 'web_tour_extra', |
|
|
|
], |
|
|
|
"external_dependencies": {"python": [], "bin": []}, |
|
|
|
"data": ["views/res_partner_mails_count.xml", "templates.xml",], |
|
|
|
"data": ["views/res_partner_mails_count.xml", "templates.xml"], |
|
|
|
"demo": [], |
|
|
|
"installable": False, |
|
|
|
"auto_install": False, |
|
|
|