[MIG] attachment_unindex_content: Migration to 13.0

pull/2563/head
Randall Castro 2021-07-02 21:08:55 -06:00 committed by Rodrigo Serrano
parent fad58840f1
commit d182c4b03e
1 changed files with 1 additions and 1 deletions

View File

@ -9,5 +9,5 @@ class IrAttachment(models.Model):
_inherit = "ir.attachment" _inherit = "ir.attachment"
@api.model @api.model
def _index(self, bin_data, datas_fname, file_type): def _index(self, bin_data, mimetype):
return False return False