Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
7149550
Add edi_endpoint_oca
simahawk Sep 15, 2021
9af549f
[UPD] Update edi_endpoint_oca.pot
oca-travis Nov 2, 2021
1bb9f49
[UPD] README.rst
OCA-git-bot Nov 2, 2021
275c47a
[ADD] icon.png
OCA-git-bot Nov 2, 2021
c3920e2
edi_endpoint_oca 14.0.1.1.0
OCA-git-bot Nov 2, 2021
b7823af
edi_endpoint: fix load demo data
simahawk Nov 10, 2021
10cda4d
edi_endpoint_oca 14.0.1.1.1
OCA-git-bot Nov 11, 2021
90dd18a
edi_endpoint: improve search/tree views
simahawk Nov 12, 2021
a63b85b
edi_endpoint_oca: fix manage endpoints action domain
simahawk Dec 28, 2021
1798666
[UPD] Update edi_endpoint_oca.pot
Jan 12, 2022
4b72944
edi_endpoint_oca 14.0.1.2.0
OCA-git-bot Jan 12, 2022
2932724
Misc fix of authorship name
simahawk Jan 14, 2022
bd07d4d
edi_endpoint_oca 14.0.1.2.1
OCA-git-bot Jan 14, 2022
d20c3c6
[FIX] Fix access right issues when using actions
sebalix Jan 31, 2022
9b7aa26
edi_endpoint_oca 14.0.1.2.2
OCA-git-bot Jan 31, 2022
cd698ef
[UPD] Update edi_endpoint_oca.pot
Aug 1, 2022
16fec1b
edi_endpoint: prevent backend archive
simahawk Aug 12, 2022
7698fef
edi_endpoint: improve endpoint count
simahawk Aug 12, 2022
182d36e
edi_endpoint: temp fix for tests
simahawk Aug 12, 2022
6ee9ed3
[UPD] Update edi_endpoint_oca.pot
Aug 17, 2022
2c181d2
edi_endpoint_oca 14.0.1.3.0
OCA-git-bot Aug 17, 2022
bb5f853
[UPD] Update edi_endpoint_oca.pot
May 16, 2023
cfb7d35
edi_endpoint: integrate e_route_handler xworker fix
simahawk Jun 15, 2022
b722789
edi_endpoint: trash custom controller
simahawk Apr 21, 2023
7cd297e
[UPD] Update edi_endpoint_oca.pot
May 17, 2023
b67e9ad
edi_endpoint: dev status = Beta
simahawk Jun 1, 2023
2b65719
edi_endpoint: track endpoint on exchange record
simahawk May 29, 2023
c8dd075
[UPD] Update edi_endpoint_oca.pot
Jun 1, 2023
c95c429
[UPD] README.rst
OCA-git-bot Jun 1, 2023
1c93b37
edi_endpoint_oca 14.0.1.5.0
OCA-git-bot Jun 1, 2023
1b28255
edi_endpoint_oca: Migration to 16.0
JordiBForgeFlow Jun 9, 2023
0a38dc9
edi_endpoint: make pre-commit happy
simahawk Dec 18, 2023
594ebef
[FIX] edi_oca: fix setup env for unit test
thienvh332 Jan 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions edi_endpoint_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
============
EDI endpoint
============

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! 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_endpoint_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_endpoint_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 module allowing configuration of custom endpoints for EDI framework.

**Table of contents**

.. contents::
:local:

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

Go to "EDI -> Config -> Endpoints".

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_endpoint_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
~~~~~~~

* Camptocamp

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

* Simone Orsi <simone.orsi@camptocamp.com>

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 <https://github.com/OCA/edi/tree/14.0/edi_endpoint_oca>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions edi_endpoint_oca/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
24 changes: 24 additions & 0 deletions edi_endpoint_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2021 Camptocamp SA
# @author: Simone Orsi <simone.orsi@camptocamp.com>
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl).

{
"name": "EDI endpoint",
"summary": """
Base module allowing configuration of custom endpoints for EDI framework.
""",
"version": "16.0.1.0.0",
"development_status": "Beta",
"license": "LGPL-3",
"website": "https://github.com/OCA/edi-framework",
"author": "Camptocamp,Odoo Community Association (OCA)",
"depends": ["base_edi", "edi_oca", "endpoint"],
"data": [
"data/server_action.xml",
"security/ir.model.access.csv",
"views/edi_backend_views.xml",
"views/edi_endpoint_views.xml",
"views/edi_exchange_record_views.xml",
],
"demo": ["demo/edi_backend_demo.xml"],
}
13 changes: 13 additions & 0 deletions edi_endpoint_oca/data/server_action.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo noupdate="1">
<record id="server_action_registry_sync" model="ir.actions.server">
<field name="name">Sync registry</field>
<field name="type">ir.actions.server</field>
<field name="model_id" ref="edi_endpoint_oca.model_edi_endpoint" />
<field name="binding_model_id" ref="edi_endpoint_oca.model_edi_endpoint" />
<field name="state">code</field>
<field name="code">
records.filtered(lambda x: not x.registry_sync).write({"registry_sync": True})
</field>
</record>
</odoo>
30 changes: 30 additions & 0 deletions edi_endpoint_oca/demo/edi_backend_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8" ?>
<odoo>
<record id="edi_backend_demo" model="edi.backend">
<field name="name">EDI backend with endpoints DEMO</field>
<field name="backend_type_id" ref="edi_oca.demo_edi_backend_type" />
</record>

<record id="edi_exchange_type_demo" model="edi.exchange.type">
<field name="name">EDI exchange demo </field>
<field name="code">demo_endpoint</field>
<field name="backend_type_id" ref="edi_oca.demo_edi_backend_type" />
<field name="direction">input</field>
</record>

<record id="edi_endpoint_demo_1" model="edi.endpoint">
<field name="backend_id" ref="edi_backend_demo" />
<field name="backend_type_id" ref="edi_oca.demo_edi_backend_type" />
<field name="exchange_type_id" ref="edi_exchange_type_demo" />
<field name="name">EDI Demo Endpoint 1</field>
<!-- The prefix `/edi/` will be added automatically -->
<field name="route">/demo/try</field>
<field name="request_method">GET</field>
<field name="exec_mode">code</field>
<field name="code_snippet">
record = endpoint.create_exchange_record()
result = {"response": Response("Created record: %s" % record.identifier)}
</field>
</record>

</odoo>
Loading