Skip to content

Commit

Permalink
fs_storage: remove default protocol
Browse files Browse the repository at this point in the history
Since protocol is under server_environment control, it seems its default value takes priority over a value set in an XML record.

Since it does really make much sense to create a storage backend without specifying
the protocol, we remove the default value.
  • Loading branch information
sbidoul committed Oct 4, 2024
1 parent 992d7e0 commit 4cfdafb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion fs_storage/models/fs_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def __init__(self, env, ids=(), prefetch_ids=()):
protocol = fields.Selection(
selection="_get_protocols",
required=True,
default="odoofs",
help="The protocol used to access the content of filesystem.\n"
"This list is the one supported by the fsspec library (see "
"https://filesystem-spec.readthedocs.io/en/latest). A filesystem protocol"
Expand Down

0 comments on commit 4cfdafb

Please sign in to comment.