From d182c4b03e06b43d3a587ea71950a5ac34591cc7 Mon Sep 17 00:00:00 2001 From: Randall Castro Date: Fri, 2 Jul 2021 21:08:55 -0600 Subject: [PATCH] [MIG] attachment_unindex_content: Migration to 13.0 --- attachment_unindex_content/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attachment_unindex_content/models/ir_attachment.py b/attachment_unindex_content/models/ir_attachment.py index 2011b0386..38ab576fb 100644 --- a/attachment_unindex_content/models/ir_attachment.py +++ b/attachment_unindex_content/models/ir_attachment.py @@ -9,5 +9,5 @@ class IrAttachment(models.Model): _inherit = "ir.attachment" @api.model - def _index(self, bin_data, datas_fname, file_type): + def _index(self, bin_data, mimetype): return False