Skip to content

Commit

Permalink
Merge PR #252 into 16.0
Browse files Browse the repository at this point in the history
Signed-off-by lmignon
  • Loading branch information
OCA-git-bot committed Aug 24, 2023
2 parents 619e812 + a937c9b commit b328d6e
Show file tree
Hide file tree
Showing 23 changed files with 1,715 additions and 0 deletions.
35 changes: 35 additions & 0 deletions fs_storage/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
**This file is going to be generated by oca-gen-addon-readme.**

*Manual changes will be overwritten.*

Please provide content in the ``readme`` directory:

* **DESCRIPTION.rst** (required)
* INSTALL.rst (optional)
* CONFIGURE.rst (optional)
* **USAGE.rst** (optional, highly recommended)
* DEVELOP.rst (optional)
* ROADMAP.rst (optional)
* HISTORY.rst (optional, recommended)
* **CONTRIBUTORS.rst** (optional, highly recommended)
* CREDITS.rst (optional)

Content of this README will also be drawn from the addon manifest,
from keys such as name, authors, maintainers, development_status,
and license.

A good, one sentence summary in the manifest is also highly recommended.


Automatic changelog generation
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

`HISTORY.rst` can be auto generated using `towncrier <https://pypi.org/project/towncrier>`_.

Just put towncrier compatible changelog fragments into `readme/newsfragments`
and the changelog file will be automatically generated and updated when a new fragment is added.

Please refer to `towncrier` documentation to know more.

NOTE: the changelog will be automatically generated when using `/ocabot merge $option`.
If you need to run it manually, refer to `OCA/maintainer-tools README <https://github.com/OCA/maintainer-tools>`_.
6 changes: 6 additions & 0 deletions fs_storage/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# register protocols first
from . import odoo_file_system
from . import rooted_dir_file_system

# then add normal imports
from . import models
22 changes: 22 additions & 0 deletions fs_storage/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Copyright 2017 Akretion (http://www.akretion.com).
# @author Sébastien BEAU <sebastien.beau@akretion.com>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "Filesystem Storage Backend",
"summary": "Implement the concept of Storage with amazon S3, sftp...",
"version": "16.0.1.0.1",
"category": "FS Storage",
"website": "https://github.com/OCA/storage",
"author": " ACSONE SA/NV, Odoo Community Association (OCA)",
"license": "LGPL-3",
"development_status": "Beta",
"installable": True,
"depends": ["base", "base_sparse_field", "server_environment"],
"data": [
"views/fs_storage_view.xml",
"security/ir.model.access.csv",
],
"demo": ["demo/fs_storage.xml"],
"external_dependencies": {"python": ["fsspec"]},
}
8 changes: 8 additions & 0 deletions fs_storage/demo/fs_storage.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="default_fs_storage" model="fs.storage">
<field name="name">Odoo Filesystem Backend</field>
<field name="protocol">odoofs</field>
<field name="code">odoofs</field>
</record>
</odoo>
144 changes: 144 additions & 0 deletions fs_storage/i18n/storage_backend.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * fs_storage
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 16.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__backend_type_env_default
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__directory_path_env_default
msgid " Env Default"
msgstr ""

#. module: fs_storage
#. odoo-python
#: code:addons/fs_storage/components/filesystem_adapter.py:0
#, python-format
msgid "Access to %s is forbidden"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__backend_type
msgid "Backend Type"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__backend_type_env_is_editable
msgid "Backend Type Env Is Editable"
msgstr ""

#. module: fs_storage
#. odoo-python
#: code:addons/fs_storage/models/fs_storage.py:0
#, python-format
msgid "Connection Test Failed!"
msgstr ""

#. module: fs_storage
#. odoo-python
#: code:addons/fs_storage/models/fs_storage.py:0
#, python-format
msgid "Connection Test Succeeded!"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__create_uid
msgid "Created by"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__create_date
msgid "Created on"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__directory_path
msgid "Directory Path"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__directory_path_env_is_editable
msgid "Directory Path Env Is Editable"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__display_name
msgid "Display Name"
msgstr ""

#. module: fs_storage
#. odoo-python
#: code:addons/fs_storage/models/fs_storage.py:0
#, python-format
msgid "Everything seems properly set up!"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields.selection,name:fs_storage.selection__fs_storage__backend_type__filesystem
msgid "Filesystem"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__has_validation
msgid "Has Validation"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__id
msgid "ID"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage____last_update
msgid "Last Modified on"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__write_uid
msgid "Last Updated by"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__write_date
msgid "Last Updated on"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__name
msgid "Name"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,help:fs_storage.field_fs_storage__directory_path
#: model:ir.model.fields,help:fs_storage.field_fs_storage__directory_path_env_default
msgid "Relative path to the directory to store the file"
msgstr ""

#. module: fs_storage
#: model:ir.model.fields,field_description:fs_storage.field_fs_storage__server_env_defaults
msgid "Server Env Defaults"
msgstr ""

#. module: fs_storage
#: model:ir.actions.act_window,name:fs_storage.act_open_fs_storage_view
#: model:ir.model,name:fs_storage.model_fs_storage
#: model:ir.ui.menu,name:fs_storage.menu_storage
#: model:ir.ui.menu,name:fs_storage.menu_fs_storage
#: model_terms:ir.ui.view,arch_db:fs_storage.fs_storage_view_form
#: model_terms:ir.ui.view,arch_db:fs_storage.fs_storage_view_search
msgid "FS Storage"
msgstr ""

#. module: fs_storage
#: model_terms:ir.ui.view,arch_db:fs_storage.fs_storage_view_form
msgid "Test connection"
msgstr ""
1 change: 1 addition & 0 deletions fs_storage/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import fs_storage
Loading

0 comments on commit b328d6e

Please sign in to comment.