From 18f0715ca8dfffe8313c073ea3c57a50711074b3 Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Wed, 8 Jan 2020 16:26:27 +0100 Subject: [PATCH] [IMP] base_m2m_custom_field: black, isort --- base_m2m_custom_field/__manifest__.py | 4 +--- base_m2m_custom_field/fields.py | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/base_m2m_custom_field/__manifest__.py b/base_m2m_custom_field/__manifest__.py index 76ae9eb5b..7d72be6d1 100644 --- a/base_m2m_custom_field/__manifest__.py +++ b/base_m2m_custom_field/__manifest__.py @@ -8,8 +8,6 @@ "author": "Camptocamp, Odoo Community Association (OCA)", "license": "AGPL-3", "website": "https://github.com/OCA/server-tools", - "depends": [ - "base", - ], + "depends": ["base"], "installable": True, } diff --git a/base_m2m_custom_field/fields.py b/base_m2m_custom_field/fields.py index 6136f37fa..65729bd45 100644 --- a/base_m2m_custom_field/fields.py +++ b/base_m2m_custom_field/fields.py @@ -10,9 +10,7 @@ class Many2manyCustom(fields.Many2many): at the initialization of the field (boolean) """ - _slots = { - 'create_table': True - } + _slots = {"create_table": True} def update_db(self, model, columns): if not self.create_table: