[IMP] autovacuum_message_attachment: black, isort, prettier

pull/3183/head
hkpatel 2021-07-15 14:08:54 +05:30 committed by GabbasovDinar
parent b660e0e8e2
commit e78e288d28
No known key found for this signature in database
GPG Key ID: 29C4D35381B4C360
1 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,9 @@ class VacuumRule(models.Model):
help=("If set, only attachments containing this pattern will be" " deleted.") help=("If set, only attachments containing this pattern will be" " deleted.")
) )
company_id = fields.Many2one( company_id = fields.Many2one(
"res.company", string="Company", default=lambda self: self.env.company, "res.company",
string="Company",
default=lambda self: self.env.company,
) )
message_subtype_ids = fields.Many2many( message_subtype_ids = fields.Many2many(
"mail.message.subtype", "mail.message.subtype",