From 609a03948145de8359c982104bedfaaa1ee9b58b Mon Sep 17 00:00:00 2001 From: Akim Juillerat Date: Mon, 16 Dec 2019 11:06:07 +0100 Subject: [PATCH] fixup! base_fileurl_field: add acl_public_read slot --- base_fileurl_field/fields.py | 1 + 1 file changed, 1 insertion(+) diff --git a/base_fileurl_field/fields.py b/base_fileurl_field/fields.py index 8594868..28c16d6 100644 --- a/base_fileurl_field/fields.py +++ b/base_fileurl_field/fields.py @@ -52,6 +52,7 @@ class FileURL(fields.Binary): 'res_field': self.name, 'res_id': record.id, 'type': 'binary', + 'public': self.acl_public_read, 'datas': value, } fname = False