server-tools/attachment_synchronize
clementmbr 7bd7c02c89 [FIX] attachment_synchronize: fix tests
- correct `directory_output` value

- mute logger for desired raise exception

- change how the "already imported files" are checked when
"check_duplicated_files = True" :
It occurs that a task o2m field `attachment_ids` returns an empty record
when checked during the `_file_to_import()` method... but only when
the module `autovacuum_message_attachment` is installed !
2023-09-07 11:17:48 +02:00
..
data [REF] refactor code and add test 2023-09-07 11:17:48 +02:00
demo [REF] refactor code and add test 2023-09-07 11:17:48 +02:00
models [FIX] attachment_synchronize: fix tests 2023-09-07 11:17:48 +02:00
readme IMP add button to duplicate task or unactive them, add readme fragments 2023-09-07 11:17:48 +02:00
security [REF] refactor code and add test 2023-09-07 11:17:48 +02:00
static/description IMP add button to duplicate task or unactive them, add readme fragments 2023-09-07 11:17:48 +02:00
tests [FIX] attachment_synchronize: fix tests 2023-09-07 11:17:48 +02:00
views IMP add button to duplicate task or unactive them, add readme fragments 2023-09-07 11:17:48 +02:00
README.rst IMP add button to duplicate task or unactive them, add readme fragments 2023-09-07 11:17:48 +02:00
__init__.py Migrate and refactore external_file_location 2023-09-07 11:17:48 +02:00
__manifest__.py IMP add button to duplicate task or unactive them, add readme fragments 2023-09-07 11:17:48 +02:00

README.rst

======================
Attachment Synchronize
======================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-akretion%2Fserver--tools-lightgray.png?logo=github
    :target: https://github.com/akretion/server-tools/tree/12-mig-external_file_location/attachment_synchronize
    :alt: akretion/server-tools

|badge1| |badge2| |badge3| 

This module allow you to deal with remote communication to import/export files.
It allow to store paths and settings from/to remote servers.

It depends of attachment_queue to store attachments

With additional modules coming from https://github.com/storage you can use ftp, sftp, etc

**Table of contents**

.. contents::
   :local:

Configuration
=============

To use this module, you need to:

* Add a location with your server infos
* Create a task with your file info and remote communication method
* A cron task will trigger each task


.. figure:: https://raw.githubusercontent.com/akretion/server-tools/12-mig-external_file_location/attachment_synchronize/static/description/file.png



.. figure:: https://raw.githubusercontent.com/akretion/server-tools/12-mig-external_file_location/attachment_synchronize/static/description/sftp.png


With the help of storage_backend_sftp

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/akretion/server-tools/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/akretion/server-tools/issues/new?body=module:%20attachment_synchronize%0Aversion:%2012-mig-external_file_location%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Akretion

Contributors
~~~~~~~~~~~~

`Akretion <https://www.akretion.com/>`_ :

- Valentin CHEMIERE
- Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
- Florian DA COSTA <florian.dacosta@akretion.com>

GS Lab:

- Giovanni SERRA <giovanni@gslab.it>

Maintainers
~~~~~~~~~~~

.. |maintainer-florian-dacosta| image:: https://github.com/florian-dacosta.png?size=40px
    :target: https://github.com/florian-dacosta
    :alt: florian-dacosta
.. |maintainer-GSLabIt| image:: https://github.com/GSLabIt.png?size=40px
    :target: https://github.com/GSLabIt
    :alt: GSLabIt
.. |maintainer-bealdav| image:: https://github.com/bealdav.png?size=40px
    :target: https://github.com/bealdav
    :alt: bealdav

Current maintainers:

|maintainer-florian-dacosta| |maintainer-GSLabIt| |maintainer-bealdav| 

This module is part of the `akretion/server-tools <https://github.com/akretion/server-tools/tree/12-mig-external_file_location/attachment_synchronize>`_ project on GitHub.

You are welcome to contribute.