push update

This commit is contained in:
cyrilmanuel
2023-01-26 13:51:56 +01:00
parent 7e785507f7
commit 14e612c17d
2 changed files with 27 additions and 6 deletions
@@ -164,10 +164,6 @@ class IrAttachment(models.Model):
return len(bin_data) <= limit
return False
def _get_datas_related_values(self, data, mimetype):
self=self.with_context(mimetype=mimetype)
return super(IrAttachment, self)._get_datas_related_values(data, mimetype)
def _inverse_datas(self):
# override in order to store files that need fast access,
# we keep them in the database instead of the object storage