From 29db9a21b1a725e516f0dfa47ae8019effb43e69 Mon Sep 17 00:00:00 2001 From: "Laurent Mignonn (ACSONE)" Date: Sun, 10 Nov 2024 12:12:34 +0100 Subject: [PATCH 1/2] oca-port: store 'fs_storage' data --- .oca/oca-port/blacklist/fs_storage.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .oca/oca-port/blacklist/fs_storage.json diff --git a/.oca/oca-port/blacklist/fs_storage.json b/.oca/oca-port/blacklist/fs_storage.json new file mode 100644 index 0000000000..fbe4676cd8 --- /dev/null +++ b/.oca/oca-port/blacklist/fs_storage.json @@ -0,0 +1,5 @@ +{ + "pull_requests": { + "OCA/storage#323": "migration PR" + } +} From 092c0a626fd0ff024387b2cbf0d73b0925bc7316 Mon Sep 17 00:00:00 2001 From: Vincent Hatakeyama Date: Wed, 3 Jul 2024 10:32:51 +0200 Subject: [PATCH 2/2] [IMP] fs_storage: Allow setting eval_options_from_env in configuration file --- fs_storage/models/fs_storage.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/fs_storage/models/fs_storage.py b/fs_storage/models/fs_storage.py index c9c39c0220..b648b55295 100644 --- a/fs_storage/models/fs_storage.py +++ b/fs_storage/models/fs_storage.py @@ -176,7 +176,12 @@ def _get_check_connection_method_selection(self): @property def _server_env_fields(self): - return {"protocol": {}, "options": {}, "directory_path": {}} + return { + "protocol": {}, + "options": {}, + "directory_path": {}, + "eval_options_from_env": {}, + } def write(self, vals): self.__fs = None