Metadata-Version: 2.1
Name: odoo14-addon-edi-oca
Version: 14.0.1.9.2
Summary: Define backends, exchange types, exchange records, basic automation and views for handling EDI exchanges.
Home-page: https://github.com/OCA/edi
Author: ACSONE,Creu Blanca,Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: LGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.6
Requires-Dist: odoo14-addon-base-edi
Requires-Dist: odoo14-addon-component-event
Requires-Dist: odoo14-addon-queue-job
Requires-Dist: odoo (<14.1dev,>=14.0a)
Requires-Dist: pyyaml

===
EDI
===

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! 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-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fedi-lightgray.png?logo=github
    :target: https://github.com/OCA/edi/tree/14.0/edi_oca
    :alt: OCA/edi
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/edi-14-0/edi-14-0-edi_oca
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
    :target: https://runbot.odoo-community.org/runbot/226/14.0
    :alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5| 

Base EDI backend.

Provides following models:

1. EDI Backend, to centralize configuration
2. EDI Backend Type, to classify EDI backends (eg: UBL, GS1, e-invoice, pick-yours)
3. EDI Exchange Type, to define file types of exchange
4. EDI Exchange Record, to define a record exchanged between systems

Also define a mixin to be inherited by records that will generate EDIs

**Table of contents**

.. contents::
   :local:

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

This module aims to provide an infrastructure to simplify interchangability of documents
between systems providing a configuration platform.
It will be inherited by other modules in order to define the proper implementations of
components.

In order to define a new Exchange Record, we need to configure:

* Backend Type
* Exchange Type
* Backend
* Components

Component definition
~~~~~~~~~~~~~~~~~~~~

The component usage must be defined like `edi.{direction}.{kind}.{code}` where:

* direction is `output` or `input`
* kind can be: `generate`, `send`, `check`, `process`, `receive`
* code is the `{backend type code}` or `{backend type code}.{exchange type code}`

User EDI generation
~~~~~~~~~~~~~~~~~~~

On the exchange type, it might be possible to define a set of models, a domain and a
snippet of code.
After defining this fields, we will automatically see buttons on the view to generate
the exchange records.
This configuration is useful to define a way of generation managed by user.

Usage
=====

After certain operations or manual execution, Exchange records will be generated.
This Exchange records might be input records or outputs records.

The change of state can be manually executed by the system or be managed through by
`ir.cron`.

Output Exchange records
~~~~~~~~~~~~~~~~~~~~~~~

An output record is intended to be used for exchange information from Odoo to another
system.

The flow of an output record should be:

* Creation
* Generation of data
* Validation of data
* Sending data
* Validation of data processed properly by the other party

Input Exchange records
~~~~~~~~~~~~~~~~~~~~~~

An input record is intended to be used for exchange information another system to odoo.

The flow of an input record should be:

* Creation
* Reception of data
* Checking data
* Processing data

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

14.0.1.0.0
~~~~~~~~~~

The module name has been changed from edi to edi_oca.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi/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/OCA/edi/issues/new?body=module:%20edi_oca%0Aversion:%2014.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
~~~~~~~

* ACSONE
* Creu Blanca

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

* Simone Orsi <simahawk@gmail.com>
* Enric Tobella <etobella@creublanca.es>

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

This module is maintained by the OCA.

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

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.

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

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-simahawk| |maintainer-etobella| 

This module is part of the `OCA/edi <https://github.com/OCA/edi/tree/14.0/edi_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.


