Browse Source

💚 fixing trailing comma

pull/259/head
Ivan Yelizariev 5 years ago
parent
commit
0ac0e0de24
No known key found for this signature in database GPG Key ID: 93F14FB6A8B57057
  1. 4
      mail_all/__manifest__.py
  2. 6
      mail_archives/__manifest__.py
  3. 2
      mail_base/__manifest__.py
  4. 4
      mail_check_immediately/__manifest__.py
  5. 6
      mail_move_message/__manifest__.py
  6. 4
      mail_move_message/mail_move_message_models.py
  7. 4
      mail_multi_website/__manifest__.py
  8. 2
      mail_multi_website/tests/test_fetch.py
  9. 2
      mail_multi_website/tests/test_render.py
  10. 2
      mail_multi_website/tests/test_send.py
  11. 4
      mail_private/__manifest__.py
  12. 2
      mail_recovery/__manifest__.py
  13. 4
      mail_reply/__manifest__.py
  14. 4
      mail_sent/__manifest__.py
  15. 6
      mail_to/__manifest__.py
  16. 6
      mailgun/__manifest__.py
  17. 2
      res_partner_company_messages/__manifest__.py
  18. 2
      res_partner_mails_count/__manifest__.py

4
mail_all/__manifest__.py

@ -14,8 +14,8 @@
"currency": "EUR", "currency": "EUR",
"depends": ["mail_base"], "depends": ["mail_base"],
"external_dependencies": {"python": [], "bin": []}, "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": [], "demo": [],
"post_load": None, "post_load": None,
"pre_init_hook": None, "pre_init_hook": None,

6
mail_archives/__manifest__.py

@ -10,8 +10,8 @@
"license": "LGPL-3", "license": "LGPL-3",
"price": 40.00, "price": 40.00,
"currency": "EUR", "currency": "EUR",
"depends": ["mail_base",],
"data": ["views/templates.xml",],
"qweb": ["static/src/xml/menu.xml",],
"depends": ["mail_base"],
"data": ["views/templates.xml"],
"qweb": ["static/src/xml/menu.xml"],
"installable": True, "installable": True,
} }

2
mail_base/__manifest__.py

@ -15,6 +15,6 @@
"price": 9.00, "price": 9.00,
"currency": "EUR", "currency": "EUR",
"depends": ["base", "mail"], "depends": ["base", "mail"],
"data": ["views/templates.xml",],
"data": ["views/templates.xml"],
"installable": True, "installable": True,
} }

4
mail_check_immediately/__manifest__.py

@ -9,7 +9,7 @@
"price": 9.00, "price": 9.00,
"currency": "EUR", "currency": "EUR",
"depends": ["base", "web", "fetchmail", "mail"], "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, "installable": False,
} }

6
mail_move_message/__manifest__.py

@ -16,8 +16,8 @@
"website": "https://twitter.com/yelizariev", "website": "https://twitter.com/yelizariev",
"price": 100.00, "price": 100.00,
"currency": "EUR", "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": True, "installable": True,
} }

4
mail_move_message/mail_move_message_models.py

@ -429,7 +429,7 @@ class MailMessage(models.Model):
return return
if not self.author_id: if not self.author_id:
self.write( self.write(
{"author_id": author.id,}
{"author_id": author.id}
) )
vals = {} vals = {}
@ -463,7 +463,7 @@ class MailMessage(models.Model):
"is_read": False, "is_read": False,
} }
self.write( self.write(
{"notification_ids": [(0, 0, notification)],}
{"notification_ids": [(0, 0, notification)]}
) )
for r in self.all_child_ids: for r in self.all_child_ids:

4
mail_multi_website/__manifest__.py

@ -14,9 +14,9 @@
"license": "LGPL-3", "license": "LGPL-3",
"price": 230.00, "price": 230.00,
"currency": "EUR", "currency": "EUR",
"depends": ["ir_config_parameter_multi_company", "web_website", "mail",],
"depends": ["ir_config_parameter_multi_company", "web_website", "mail"],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["views/website_views.xml",],
"data": ["views/website_views.xml"],
"demo": [], "demo": [],
"qweb": [], "qweb": [],
"post_load": None, "post_load": None,

2
mail_multi_website/tests/test_fetch.py

@ -13,7 +13,7 @@ class TestFetch(TestMail):
def setUp(self): def setUp(self):
super(TestFetch, self).setUp() super(TestFetch, self).setUp()
self.website = self.env["website"].create( 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.company = self.env["res.company"].create({"name": "New Test Website"})
self.website.company_id = self.company self.website.company_id = self.company

2
mail_multi_website/tests/test_render.py

@ -21,7 +21,7 @@ class TestRender(TestMail):
self.company = self.env["res.company"].create({"name": "New Test Website"}) self.company = self.env["res.company"].create({"name": "New Test Website"})
self.website.company_id = self.company self.website.company_id = self.company
self.mail_server_id = self.env["ir.mail_server"].create( 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 self.website.mail_server_id = self.mail_server_id

2
mail_multi_website/tests/test_send.py

@ -57,7 +57,7 @@ class TestSendMail(TransactionCase):
original_email = "original@email1" original_email = "original@email1"
new_email = "new@email2" new_email = "new@email2"
partner = self.env["res.partner"].create( partner = self.env["res.partner"].create(
{"name": "test", "email": original_email,}
{"name": "test", "email": original_email}
) )
self.switch_user_website() self.switch_user_website()
# update partner's email # update partner's email

4
mail_private/__manifest__.py

@ -21,8 +21,8 @@
"currency": "EUR", "currency": "EUR",
"depends": ["mail", "base", "mail_base"], "depends": ["mail", "base", "mail_base"],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["template.xml", "full_composer_wizard.xml",],
"qweb": ["static/src/xml/mail_private.xml",],
"data": ["template.xml", "full_composer_wizard.xml"],
"qweb": ["static/src/xml/mail_private.xml"],
"demo": [], "demo": [],
"post_load": None, "post_load": None,
"pre_init_hook": None, "pre_init_hook": None,

2
mail_recovery/__manifest__.py

@ -11,6 +11,6 @@
"images": ["images/mail_recovery.png"], "images": ["images/mail_recovery.png"],
"vesion": "11.0.1.0.0", "vesion": "11.0.1.0.0",
"depends": ["mail"], "depends": ["mail"],
"data": ["data.xml",],
"data": ["data.xml"],
"installable": False, "installable": False,
} }

4
mail_reply/__manifest__.py

@ -10,10 +10,10 @@
"license": "LGPL-3", "license": "LGPL-3",
"price": 40.00, "price": 40.00,
"currency": "EUR", "currency": "EUR",
"depends": ["mail_base",],
"depends": ["mail_base"],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["templates.xml"], "data": ["templates.xml"],
"qweb": ["static/src/xml/reply_button.xml",],
"qweb": ["static/src/xml/reply_button.xml"],
"demo": [], "demo": [],
"installable": False, "installable": False,
"auto_install": False, "auto_install": False,

4
mail_sent/__manifest__.py

@ -11,7 +11,7 @@
"price": 40.00, "price": 40.00,
"currency": "EUR", "currency": "EUR",
"depends": ["base", "mail", "mail_base"], "depends": ["base", "mail", "mail_base"],
"data": ["views/templates.xml",],
"qweb": ["static/src/xml/menu.xml",],
"data": ["views/templates.xml"],
"qweb": ["static/src/xml/menu.xml"],
"installable": True, "installable": True,
} }

6
mail_to/__manifest__.py

@ -15,10 +15,10 @@
"license": "LGPL-3", "license": "LGPL-3",
"price": 40.00, "price": 40.00,
"currency": "EUR", "currency": "EUR",
"depends": ["mail_base",],
"depends": ["mail_base"],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["templates.xml",],
"qweb": ["static/src/xml/recipient.xml",],
"data": ["templates.xml"],
"qweb": ["static/src/xml/recipient.xml"],
"demo": [], "demo": [],
"installable": True, "installable": True,
"auto_install": False, "auto_install": False,

6
mailgun/__manifest__.py

@ -14,9 +14,9 @@
"license": "LGPL-3", "license": "LGPL-3",
"price": 389.00, "price": 389.00,
"currency": "EUR", "currency": "EUR",
"depends": ["mail",],
"depends": ["mail"],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["data/ir_cron_data.xml",],
"data": ["data/ir_cron_data.xml"],
"demo": [], "demo": [],
"qweb": [], "qweb": [],
"post_load": None, "post_load": None,
@ -30,5 +30,5 @@
"demo_addons_hidden": [], "demo_addons_hidden": [],
"demo_url": "mailgun", "demo_url": "mailgun",
"demo_summary": "Easy to send outgoing and fetch incoming messages by using 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"],
} }

2
res_partner_company_messages/__manifest__.py

@ -10,6 +10,6 @@
"website": "https://twitter.com/yelizariev", "website": "https://twitter.com/yelizariev",
"images": ["images/child.png", "images/parent.png"], "images": ["images/child.png", "images/parent.png"],
"depends": ["mail"], "depends": ["mail"],
"data": ["views.xml",],
"data": ["views.xml"],
"installable": False, "installable": False,
} }

2
res_partner_mails_count/__manifest__.py

@ -15,7 +15,7 @@
# 'web_tour_extra', # 'web_tour_extra',
], ],
"external_dependencies": {"python": [], "bin": []}, "external_dependencies": {"python": [], "bin": []},
"data": ["views/res_partner_mails_count.xml", "templates.xml",],
"data": ["views/res_partner_mails_count.xml", "templates.xml"],
"demo": [], "demo": [],
"installable": False, "installable": False,
"auto_install": False, "auto_install": False,

Loading…
Cancel
Save