You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
OCA-git-bot e9cf63e6db [ADD] setup.py 5 years ago
..
data [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
demo [MIG] Migrate module to v10 6 years ago
i18n Update translation files 6 years ago
models [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
security [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
static/description [ADD] icon.png 6 years ago
tests [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
views [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
README.rst [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago
__init__.py Migrate and rename attachment_metadata to attachment_base_synchronize 6 years ago
__manifest__.py [WIP][MIG]attachment_base_synchronize:Migration to 11.0 6 years ago

README.rst

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

====================
Attachment Metadata
====================

This module extends ir.attachment model with some new fields for a better control for import and export of files.

The main feature is an integrity file check with a hash.

A file hash is short representation (signature) computed from file data.
Hashes computed before send file and after received file can be compared to be sure of the content integrity.

An example of the use of this module, can be found in the module `external_file_location`.


Usage
=====

Go the menu Settings > Technical > Database Structure > Meta Data Attachments

You can create / see standard attachments with additional fields

Configure the batch limit for attachments that can be sync by the cron task at a go:

Settings > Technical > System parameters > attachment_sync_cron_batch_limit



.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/149/10.0


Known issues / Roadmap
======================

The purpose of this module is not to import the data of the file but only exchange files with external application.


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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/{project_repo}/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smash it by providing detailed and welcomed feedback.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.


Contributors
------------

* Valentin CHEMIERE <valentin.chemiere@akretion.com>
* Florian da Costa <florian.dacosta@akretion.com>
* Angel Moya <http://angelmoya.es>
* Dan Kiplangat <dan@sunflowerweb.nl>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.