Metadata-Version: 2.1
Name: odoo12-addon-pattern-import-export-synchronize
Version: 12.0.1.1.0.99.dev4
Summary: Attachment Synchronize using patterns
Home-page: https://github.com/oca/server-tools
Author: Akretion,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.5
Requires-Dist: odoo12-addon-attachment-synchronize
Requires-Dist: odoo12-addon-pattern-import-export
Requires-Dist: odoo (<12.1dev,>=12.0a)

=====================================
Attachment Synchronize using patterns
=====================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! 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-shopinvader%2Fpattern--import--export-lightgray.png?logo=github
    :target: https://github.com/shopinvader/pattern-import-export/tree/12.0/pattern_import_export_synchronize
    :alt: shopinvader/pattern-import-export

|badge1| |badge2| |badge3| 

This module uses the pattern_import_export and attachment_synchronize modules to automate imports and exports.

The flows work as follows :

Imports
=======

1. A cron calls run_task_import_pattimpex_scheduler() on all synchronization tasks

2. attachment.queue of the appropriate type is generated, file is imported

3. attachment.queue is executed -> pattern.file is generated

4. A job is generated that actually imports the synced file into Odoo, using the appropriate pattern file

Exports
=======

1. A cron triggers service_trigger_exports() for a specific task

2. pattern.import.export is created, exporting records using domain specified in task -> xlsx

3. Another cron triggers run() on the same task (i.e the export of the xlsx to the storage space)

**Table of contents**

.. contents::
   :local:

Usage
=====

todo

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

Bugs are tracked on `GitHub Issues <https://github.com/shopinvader/pattern-import-export/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/shopinvader/pattern-import-export/issues/new?body=module:%20pattern_import_export_synchronize%0Aversion:%2012.0%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/>`_ :

* Kevin Khao <kevin.khao@akretion.com>
* Sebastien Beau <sebastien.beau@akretion.com>

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

.. |maintainer-kevinkhao| image:: https://github.com/kevinkhao.png?size=40px
    :target: https://github.com/kevinkhao
    :alt: kevinkhao
.. |maintainer-sebastienbeau| image:: https://github.com/sebastienbeau.png?size=40px
    :target: https://github.com/sebastienbeau
    :alt: sebastienbeau

Current maintainers:

|maintainer-kevinkhao| |maintainer-sebastienbeau| 

This module is part of the `shopinvader/pattern-import-export <https://github.com/shopinvader/pattern-import-export/tree/12.0/pattern_import_export_synchronize>`_ project on GitHub.

You are welcome to contribute.


