Skip to content

Commit

Permalink
[ADD] edi_sale_edifact_oca
Browse files Browse the repository at this point in the history
  • Loading branch information
duongtq committed Nov 30, 2023
1 parent 57f108d commit fa9db1a
Show file tree
Hide file tree
Showing 12 changed files with 669 additions and 0 deletions.
83 changes: 83 additions & 0 deletions edi_sale_edifact_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
=================
EDI Sales EDIFACT
=================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3682f5bd844859e51719ea849a8334a9b34c7196c689abd3f55d15395de59470
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
:target: https://odoo-community.org/page/development-status
:alt: Alpha
.. |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-OCA%2Fedi--framework-lightgray.png?logo=github
:target: https://github.com/OCA/edi-framework/tree/16.0/edi_sale_edifact_oca
:alt: OCA/edi-framework
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/edi-framework-16-0/edi-framework-16-0-edi_sale_edifact_oca
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/edi-framework&target_branch=16.0
:alt: Try me on Runboat

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

This module provides an example on how to configure and exchange type for EDIFACT standard,
as well as some test coverage for importing orders with the same standard.

.. IMPORTANT::
This is an alpha version, the data model and design can change at any time without warning.
Only for development or testing purpose, do not use in production.
`More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
:local:

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/edi-framework/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/edi-framework/issues/new?body=module:%20edi_sale_edifact_oca%0Aversion:%2016.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
~~~~~~~

* Camptocamp

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

* Duong (Tran Quoc) <[email protected]>
* Simone Orsi <[email protected]>

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.

This module is part of the `OCA/edi-framework <https://github.com/OCA/edi-framework/tree/16.0/edi_sale_edifact_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
23 changes: 23 additions & 0 deletions edi_sale_edifact_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright 2023 Camptocamp SA
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
{
"name": "EDI Sales EDIFACT",
"summary": """
Provide a demo exchange type setting and common tests for EDIFACT standard
in EDI on sales.
""",
"version": "16.0.1.0.0",
"development_status": "Alpha",
"license": "AGPL-3",
"author": "Camptocamp,Odoo Community Association (OCA)",
"website": "https://github.com/OCA/edi-framework",
"depends": [
"sale_order_import_edifact",
"edi_sale_oca",
"edi_edifact_oca",
"sale_stock",
],
"demo": [
"demo/edi_exchange_type.xml",
],
}
24 changes: 24 additions & 0 deletions edi_sale_edifact_oca/demo/edi_exchange_type.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="demo_edi_exc_type_edifact_order_in" model="edi.exchange.type">
<field name="backend_id" ref="edi_edifact_oca.edi_backend_edifact_demo" />
<field name="backend_type_id" ref="edi_edifact_oca.edi_backend_type_edifact" />
<field name="name">Demo EDIFACT Sale Order</field>
<field name="code">demo_EDIFACT_SaleOrder_in</field>
<field name="direction">input</field>
<field name="exchange_file_ext">txt</field>
<field name="advanced_settings_edit">
components:
process:
usage: input.process.sale.order
env_ctx:
# Values for the wizard
default_file_ext: 'edi'
defaut_release: 'd96a'
default_doc_type: 'rfq'
default_confirm_order: false
default_price_source: 'order'
default_import_type: 'edifact'
</field>
</record>
</odoo>
2 changes: 2 additions & 0 deletions edi_sale_edifact_oca/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* Duong (Tran Quoc) <[email protected]>
* Simone Orsi <[email protected]>
2 changes: 2 additions & 0 deletions edi_sale_edifact_oca/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This module provides an example on how to configure and exchange type for EDIFACT standard,
as well as some test coverage for importing orders with the same standard.
Loading

0 comments on commit fa9db1a

Please sign in to comment.