From fa1633e9906648f5d8c630c7cf238236ca422d11 Mon Sep 17 00:00:00 2001 From: Stephan Keller Date: Sun, 10 May 2020 09:41:31 +0200 Subject: [PATCH] [IMP] partner_disable_gravatar: black, isort, prettier --- partner_disable_gravatar/__manifest__.py | 18 +++++++++--------- partner_disable_gravatar/models/partner.py | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/partner_disable_gravatar/__manifest__.py b/partner_disable_gravatar/__manifest__.py index 78300999b..d65919c8d 100644 --- a/partner_disable_gravatar/__manifest__.py +++ b/partner_disable_gravatar/__manifest__.py @@ -3,13 +3,13 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { - 'name': 'Partner Disable Gravatar', - 'version': '12.0.1.0.0', - 'category': 'Tools', - 'license': 'AGPL-3', - 'summary': 'Disable automatic connection to gravatar.com', - 'author': 'Akretion,Odoo Community Association (OCA)', - 'website': 'https://github.com/OCA/partner-contact', - 'depends': ['base'], - 'installable': True, + "name": "Partner Disable Gravatar", + "version": "12.0.1.0.0", + "category": "Tools", + "license": "AGPL-3", + "summary": "Disable automatic connection to gravatar.com", + "author": "Akretion,Odoo Community Association (OCA)", + "website": "https://github.com/OCA/partner-contact", + "depends": ["base"], + "installable": True, } diff --git a/partner_disable_gravatar/models/partner.py b/partner_disable_gravatar/models/partner.py index 246fda73c..7813ff725 100644 --- a/partner_disable_gravatar/models/partner.py +++ b/partner_disable_gravatar/models/partner.py @@ -6,7 +6,7 @@ from odoo import models class ResPartner(models.Model): - _inherit = 'res.partner' + _inherit = "res.partner" def _get_gravatar_image(self, email): return False