Browse Source

[IMP] partner_disable_gravatar: black, isort, prettier

14.0
Stephan Keller 5 years ago
committed by Alexis de Lattre
parent
commit
fa1633e990
  1. 18
      partner_disable_gravatar/__manifest__.py
  2. 2
      partner_disable_gravatar/models/partner.py

18
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,
}

2
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
Loading…
Cancel
Save