diff --git a/mail_all/__manifest__.py b/mail_all/__manifest__.py index 2a55fdf..4e04894 100644 --- a/mail_all/__manifest__.py +++ b/mail_all/__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, diff --git a/mail_archives/__manifest__.py b/mail_archives/__manifest__.py index faad153..27f5607 100644 --- a/mail_archives/__manifest__.py +++ b/mail_archives/__manifest__.py @@ -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, } diff --git a/mail_base/__manifest__.py b/mail_base/__manifest__.py index 35021d0..1437c01 100644 --- a/mail_base/__manifest__.py +++ b/mail_base/__manifest__.py @@ -11,6 +11,6 @@ "price": 9.00, "currency": "EUR", "depends": ["base", "mail"], - "data": ["views/templates.xml",], + "data": ["views/templates.xml"], "installable": False, } diff --git a/mail_check_immediately/__manifest__.py b/mail_check_immediately/__manifest__.py index 0b57e20..6db62b4 100644 --- a/mail_check_immediately/__manifest__.py +++ b/mail_check_immediately/__manifest__.py @@ -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, } diff --git a/mail_move_message/__manifest__.py b/mail_move_message/__manifest__.py index 5a85425..cb514fb 100644 --- a/mail_move_message/__manifest__.py +++ b/mail_move_message/__manifest__.py @@ -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, } diff --git a/mail_move_message/mail_move_message_models.py b/mail_move_message/mail_move_message_models.py index 9e6841e..b729648 100644 --- a/mail_move_message/mail_move_message_models.py +++ b/mail_move_message/mail_move_message_models.py @@ -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: diff --git a/mail_multi_website/__manifest__.py b/mail_multi_website/__manifest__.py index 26b2d2a..bce6dac 100644 --- a/mail_multi_website/__manifest__.py +++ b/mail_multi_website/__manifest__.py @@ -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, diff --git a/mail_multi_website/tests/test_fetch.py b/mail_multi_website/tests/test_fetch.py index 0613c1c..1a82698 100644 --- a/mail_multi_website/tests/test_fetch.py +++ b/mail_multi_website/tests/test_fetch.py @@ -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 diff --git a/mail_multi_website/tests/test_render.py b/mail_multi_website/tests/test_render.py index a008f92..f4f9c32 100644 --- a/mail_multi_website/tests/test_render.py +++ b/mail_multi_website/tests/test_render.py @@ -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( { diff --git a/mail_multi_website/tests/test_send.py b/mail_multi_website/tests/test_send.py index 06bcba0..2b0ef77 100644 --- a/mail_multi_website/tests/test_send.py +++ b/mail_multi_website/tests/test_send.py @@ -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 diff --git a/mail_private/__manifest__.py b/mail_private/__manifest__.py index a29ce2b..d953144 100644 --- a/mail_private/__manifest__.py +++ b/mail_private/__manifest__.py @@ -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, diff --git a/mail_recovery/__manifest__.py b/mail_recovery/__manifest__.py index 880eca3..8264505 100644 --- a/mail_recovery/__manifest__.py +++ b/mail_recovery/__manifest__.py @@ -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, } diff --git a/mail_reply/__manifest__.py b/mail_reply/__manifest__.py index 4cd5c8c..fdc3c28 100644 --- a/mail_reply/__manifest__.py +++ b/mail_reply/__manifest__.py @@ -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, diff --git a/mail_sent/__manifest__.py b/mail_sent/__manifest__.py index b60de71..83a5580 100644 --- a/mail_sent/__manifest__.py +++ b/mail_sent/__manifest__.py @@ -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, } diff --git a/mail_to/__manifest__.py b/mail_to/__manifest__.py index fdb9cb9..7ef9a63 100644 --- a/mail_to/__manifest__.py +++ b/mail_to/__manifest__.py @@ -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, diff --git a/mail_to/tests/test_default.py b/mail_to/tests/test_default.py index ea31770..c8a4f74 100644 --- a/mail_to/tests/test_default.py +++ b/mail_to/tests/test_default.py @@ -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 () { diff --git a/mailgun/__manifest__.py b/mailgun/__manifest__.py index 387312a..ceacfdf 100644 --- a/mailgun/__manifest__.py +++ b/mailgun/__manifest__.py @@ -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"], } diff --git a/res_partner_company_messages/__manifest__.py b/res_partner_company_messages/__manifest__.py index 67dd91f..d5aa8be 100644 --- a/res_partner_company_messages/__manifest__.py +++ b/res_partner_company_messages/__manifest__.py @@ -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, } diff --git a/res_partner_mails_count/__manifest__.py b/res_partner_mails_count/__manifest__.py index fb502ff..684e128 100644 --- a/res_partner_mails_count/__manifest__.py +++ b/res_partner_mails_count/__manifest__.py @@ -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,