[IMP] pre-commit: first run on whole repo

This commit is contained in:
Kevin Khao
2021-11-26 18:54:38 +03:00
parent a04b8980e1
commit 167aefee13
289 changed files with 6020 additions and 4170 deletions

View File

@@ -4,12 +4,12 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
'name': 'Mail Usability',
'version': '14.0.1.0.0',
'category': 'Productivity/Discuss',
'license': 'AGPL-3',
'summary': 'Usability improvements on mails',
'description': """
"name": "Mail Usability",
"version": "14.0.1.0.0",
"category": "Productivity/Discuss",
"license": "AGPL-3",
"summary": "Usability improvements on mails",
"description": """
Mail Usability
==============
@@ -19,14 +19,14 @@ Small usability improvements on mails:
* remove 'sent by' in notification footer (TODO mig v14)
""",
'author': 'Akretion',
'website': 'http://www.akretion.com',
'depends': ['mail'],
'data': [
"author": "Akretion",
"website": "https://github.com/OCA/odoo-usability",
"depends": ["mail"],
"data": [
#'views/mail_view.xml',
#'data/mail_data.xml',
#'wizard/email_template_preview_view.xml',
#'wizard/mail_compose_message_view.xml',
],
'installable': True,
],
"installable": True,
}

View File

@@ -6,6 +6,6 @@ from odoo import fields, models
class MailTemplate(models.Model):
_inherit = 'mail.template'
_inherit = "mail.template"
auto_delete = fields.Boolean(default=False)

View File

@@ -2,11 +2,11 @@
# @author: Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import models, fields
from odoo import fields, models
class ResPartner(models.Model):
_inherit = 'res.partner'
_inherit = "res.partner"
# tracking=True is handled in the 'mail' module, so it's better
# to have this in mail_usability than in base_usability