From 059bc27319289fec474ca8d3c000994c223bc212 Mon Sep 17 00:00:00 2001 From: Bernat Puig Font Date: Wed, 19 Jan 2022 12:36:28 +0100 Subject: [PATCH] [IMP] mail_activity_done: black, isort, prettier --- mail_activity_done/tests/test_mail_activity_done.py | 2 +- setup/mail_activity_done/odoo/addons/mail_activity_done | 1 + setup/mail_activity_done/setup.py | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) create mode 120000 setup/mail_activity_done/odoo/addons/mail_activity_done create mode 100644 setup/mail_activity_done/setup.py diff --git a/mail_activity_done/tests/test_mail_activity_done.py b/mail_activity_done/tests/test_mail_activity_done.py index 6558436..91197e1 100644 --- a/mail_activity_done/tests/test_mail_activity_done.py +++ b/mail_activity_done/tests/test_mail_activity_done.py @@ -32,7 +32,7 @@ class TestMailActivityDoneMethods(TransactionCase): def test_mail_activity_done(self): self.act1.done = True - self.assertEquals(self.act1.state, "done") + self.assertEqual(self.act1.state, "done") def test_systray_get_activities(self): act_count = self.employee.sudo(self.employee).systray_get_activities() diff --git a/setup/mail_activity_done/odoo/addons/mail_activity_done b/setup/mail_activity_done/odoo/addons/mail_activity_done new file mode 120000 index 0000000..a076f38 --- /dev/null +++ b/setup/mail_activity_done/odoo/addons/mail_activity_done @@ -0,0 +1 @@ +../../../../mail_activity_done \ No newline at end of file diff --git a/setup/mail_activity_done/setup.py b/setup/mail_activity_done/setup.py new file mode 100644 index 0000000..28c57bb --- /dev/null +++ b/setup/mail_activity_done/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +)