mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
fix: remove last_update deprecated key (#447)
This commit is contained in:
co-authored by
GitHub
parent
59059f4344
commit
0a70537139
@@ -18,7 +18,6 @@ def from_attachment(cls, attachment):
|
|||||||
)
|
)
|
||||||
self.type = "data"
|
self.type = "data"
|
||||||
self.data = attachment.raw
|
self.data = attachment.raw
|
||||||
self.last_modified = attachment["__last_update"]
|
|
||||||
self.size = len(self.data)
|
self.size = len(self.data)
|
||||||
return self
|
return self
|
||||||
return old_from_attachment(attachment)
|
return old_from_attachment(attachment)
|
||||||
|
|||||||
Reference in New Issue
Block a user