Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
6f8a99b
Add edi_endpoint_oca
simahawk Sep 15, 2021
1d5fe6b
edi_endpoint_oca 14.0.1.1.0
OCA-git-bot Nov 2, 2021
035fee4
edi_endpoint: fix load demo data
simahawk Nov 10, 2021
de5f15b
edi_endpoint_oca 14.0.1.1.1
OCA-git-bot Nov 11, 2021
0705d94
edi_endpoint: improve search/tree views
simahawk Nov 12, 2021
a82104a
edi_endpoint_oca: fix manage endpoints action domain
simahawk Dec 28, 2021
dbfa5b7
edi_endpoint_oca 14.0.1.2.0
OCA-git-bot Jan 12, 2022
dc6391c
Misc fix of authorship name
simahawk Jan 14, 2022
a7f926d
edi_endpoint_oca 14.0.1.2.1
OCA-git-bot Jan 14, 2022
02fa29b
[FIX] Fix access right issues when using actions
sebalix Jan 31, 2022
2858d51
edi_endpoint_oca 14.0.1.2.2
OCA-git-bot Jan 31, 2022
80a8f4c
edi_endpoint: prevent backend archive
simahawk Aug 12, 2022
702dce7
edi_endpoint: improve endpoint count
simahawk Aug 12, 2022
2230c5e
edi_endpoint: temp fix for tests
simahawk Aug 12, 2022
f2f1051
edi_endpoint_oca 14.0.1.3.0
OCA-git-bot Aug 17, 2022
fe7ced1
edi_endpoint: integrate e_route_handler xworker fix
simahawk Jun 15, 2022
1660ecb
edi_endpoint: trash custom controller
simahawk Apr 21, 2023
838dd4b
edi_endpoint: dev status = Beta
simahawk Jun 1, 2023
7009f8b
edi_endpoint: track endpoint on exchange record
simahawk May 29, 2023
338aefe
edi_endpoint_oca 14.0.1.5.0
OCA-git-bot Jun 1, 2023
4fbe6fe
edi_endpoint_oca: Migration to 16.0
JordiBForgeFlow Jun 9, 2023
a2b9ebd
edi_endpoint: make pre-commit happy
simahawk Dec 18, 2023
2201c3a
Added translation using Weblate (Italian)
mymage May 13, 2024
f63ebe0
[IMP] edi_endpoint_oca: endpoint multi-company rule
JordiMForgeFlow Jun 5, 2024
a8b9824
edi_endpoint: fix form view inheritance
simahawk Jul 23, 2024
52339fc
Translated using Weblate (Italian)
mymage Jul 29, 2024
ce73721
[IMP] edi_endpoint_oca: pre-commit auto fixes
SilvioC2C Dec 3, 2024
c73e0a6
[MIG] edi_endpoint_oca: Migration to 17.0
SilvioC2C Dec 3, 2024
f61b525
[IMP] edi_endpoint_oca: pre-commit stuff
JordiMForgeFlow Dec 17, 2024
155f01a
[MIG] edi_endpoint_oca: Migration to V18
JordiMForgeFlow Dec 17, 2024
7fa5bce
edi_endpoint: extend mixin views
simahawk Jan 23, 2025
59be304
[IMP] edi_endpoint_oca: don't filter for registry sync
JordiMForgeFlow Jan 31, 2025
a5eb167
edi_endpoint: fix migration to v18
simahawk Jul 15, 2025
5565bbb
[IMP] edi_endpoint_oca: Adapt to new edi_core_oca logic
etobella Aug 29, 2025
65dc8f1
Translated using Weblate (Italian)
mymage Oct 7, 2025
7722de6
edi_endpoint: fix create_exchange_record helper
simahawk Oct 14, 2025
625586d
[MIG] edi_endpoint_oca: Migration to V19
JordiMForgeFlow Mar 30, 2026
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
86 changes: 86 additions & 0 deletions edi_endpoint_oca/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
.. image:: https://odoo-community.org/readme-banner-image
:target: https://odoo-community.org/get-involved?utm_source=readme
:alt: Odoo Community Association

============
EDI endpoint
============

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:be80edcaf6371c867bb601aeac3e28356218aef57bdf10256ac79c9fd3ab28f3
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/license-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--framework-lightgray.png?logo=github
:target: https://github.com/OCA/edi-framework/tree/19.0/edi_endpoint_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-19-0/edi-framework-19-0-edi_endpoint_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=19.0
:alt: Try me on Runboat

|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-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_endpoint_oca%0Aversion:%2019.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-framework <https://github.com/OCA/edi-framework/tree/19.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
25 changes: 25 additions & 0 deletions edi_endpoint_oca/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# 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": "19.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_core_oca", "endpoint"],
"data": [
"data/server_action.xml",
"security/ir.model.access.csv",
"security/ir_rule.xml",
"views/edi_backend_views.xml",
"views/edi_endpoint_views.xml",
"views/edi_exchange_record_views.xml",
],
"demo": ["demo/edi_backend_demo.xml"],
}
12 changes: 12 additions & 0 deletions edi_endpoint_oca/data/server_action.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?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.write({"registry_sync": True})
</field>
</record>
</odoo>
29 changes: 29 additions & 0 deletions edi_endpoint_oca/demo/edi_backend_demo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?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_core_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_core_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_core_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
Loading