mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 16:48:36 +00:00
fixup! base_fileurl_field: add acl_public_read slot
This commit is contained in:
@@ -52,6 +52,7 @@ class FileURL(fields.Binary):
|
|||||||
'res_field': self.name,
|
'res_field': self.name,
|
||||||
'res_id': record.id,
|
'res_id': record.id,
|
||||||
'type': 'binary',
|
'type': 'binary',
|
||||||
|
'public': self.acl_public_read,
|
||||||
'datas': value,
|
'datas': value,
|
||||||
}
|
}
|
||||||
fname = False
|
fname = False
|
||||||
|
|||||||
Reference in New Issue
Block a user