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