mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
Fix inverse datas for swift storage
This commit is contained in:
@@ -90,7 +90,7 @@ class IrAttachment(models.Model):
|
||||
if fname:
|
||||
self._file_delete(fname)
|
||||
continue
|
||||
self._data_set('datas', attach.datas, None)
|
||||
attach._data_set('datas', attach.datas, None)
|
||||
|
||||
def _register_hook(self, cr):
|
||||
super(IrAttachment, self)._register_hook(cr)
|
||||
|
||||
Reference in New Issue
Block a user