Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
b23b4ce
Add edi_endpoint_oca
simahawk Sep 15, 2021
b7d68f1
[UPD] Update edi_endpoint_oca.pot
oca-travis Nov 2, 2021
8c343d5
[UPD] README.rst
OCA-git-bot Nov 2, 2021
c1e015d
[ADD] icon.png
OCA-git-bot Nov 2, 2021
4799987
edi_endpoint_oca 14.0.1.1.0
OCA-git-bot Nov 2, 2021
391fe84
edi_endpoint: fix load demo data
simahawk Nov 10, 2021
370b0d3
edi_endpoint_oca 14.0.1.1.1
OCA-git-bot Nov 11, 2021
2381f10
edi_endpoint: improve search/tree views
simahawk Nov 12, 2021
289ab72
edi_endpoint_oca: fix manage endpoints action domain
simahawk Dec 28, 2021
2fcc1e7
[UPD] Update edi_endpoint_oca.pot
Jan 12, 2022
b4e54ad
edi_endpoint_oca 14.0.1.2.0
OCA-git-bot Jan 12, 2022
2f1c537
Misc fix of authorship name
simahawk Jan 14, 2022
2e2712e
edi_endpoint_oca 14.0.1.2.1
OCA-git-bot Jan 14, 2022
ba053be
[FIX] Fix access right issues when using actions
sebalix Jan 31, 2022
898391d
edi_endpoint_oca 14.0.1.2.2
OCA-git-bot Jan 31, 2022
a57cb25
[UPD] Update edi_endpoint_oca.pot
Aug 1, 2022
2e3b9f9
edi_endpoint: prevent backend archive
simahawk Aug 12, 2022
d167f93
edi_endpoint: improve endpoint count
simahawk Aug 12, 2022
dc1fa5f
edi_endpoint: temp fix for tests
simahawk Aug 12, 2022
a1b1bbf
[UPD] Update edi_endpoint_oca.pot
Aug 17, 2022
7fd0dca
edi_endpoint_oca 14.0.1.3.0
OCA-git-bot Aug 17, 2022
c855d31
[UPD] Update edi_endpoint_oca.pot
May 16, 2023
5d0f116
edi_endpoint: integrate e_route_handler xworker fix
simahawk Jun 15, 2022
8c0dc93
edi_endpoint: trash custom controller
simahawk Apr 21, 2023
5f2a6b4
[UPD] Update edi_endpoint_oca.pot
May 17, 2023
fdf36fe
edi_endpoint: dev status = Beta
simahawk Jun 1, 2023
622c62b
edi_endpoint: track endpoint on exchange record
simahawk May 29, 2023
d09c55c
[UPD] Update edi_endpoint_oca.pot
Jun 1, 2023
dbdf1ab
[UPD] README.rst
OCA-git-bot Jun 1, 2023
8f878d6
edi_endpoint_oca 14.0.1.5.0
OCA-git-bot Jun 1, 2023
21c179c
edi_endpoint_oca: Migration to 16.0
JordiBForgeFlow Jun 9, 2023
ff572ab
edi_endpoint: make pre-commit happy
simahawk Dec 18, 2023
aed4aa7
[UPD] Update edi_endpoint_oca.pot
Feb 4, 2024
cc95065
[BOT] post-merge updates
OCA-git-bot Feb 4, 2024
7034e8e
Added translation using Weblate (Italian)
mymage May 13, 2024
1e8f51c
[IMP] edi_endpoint_oca: endpoint multi-company rule
JordiMForgeFlow Jun 5, 2024
3d1fece
[UPD] Update edi_endpoint_oca.pot
Jul 9, 2024
7c24c93
Update translation files
weblate Jul 9, 2024
8d2d022
edi_endpoint: fix form view inheritance
simahawk Jul 23, 2024
2d1c8ad
[BOT] post-merge updates
OCA-git-bot Jul 26, 2024
e8b61fa
Translated using Weblate (Italian)
mymage Jul 29, 2024
2fdba90
Translated using Weblate (Italian)
mymage Nov 15, 2024
c026053
[BOT] post-merge updates
OCA-git-bot Nov 29, 2024
23f3715
[IMP] edi_endpoint_oca: pre-commit auto fixes
SilvioC2C Dec 3, 2024
c92d225
[MIG] edi_endpoint_oca: Migration to 17.0
SilvioC2C Dec 3, 2024
b3d32c8
[UPD] Update edi_endpoint_oca.pot
Dec 4, 2024
4bbb7ec
[BOT] post-merge updates
OCA-git-bot Dec 4, 2024
d5722cc
[IMP] edi_endpoint_oca: pre-commit stuff
JordiMForgeFlow Dec 17, 2024
02050ca
[MIG] edi_endpoint_oca: Migration to V18
JordiMForgeFlow Dec 17, 2024
a8e2809
edi_endpoint: extend mixin views
simahawk Jan 23, 2025
aef031a
[IMP] edi_endpoint_oca: don't filter for registry sync
JordiMForgeFlow Jan 31, 2025
b533ad5
[UPD] Update edi_endpoint_oca.pot
Mar 14, 2025
aab3b1b
[BOT] post-merge updates
OCA-git-bot Mar 14, 2025
654451e
edi_endpoint: fix migration to v18
simahawk Jul 15, 2025
c2e51cc
[BOT] post-merge updates
OCA-git-bot Jul 17, 2025
2bb3b2d
[IMP] edi_endpoint_oca: Adapt to new edi_core_oca logic
etobella Aug 29, 2025
10aceb8
[BOT] post-merge updates
OCA-git-bot Sep 29, 2025
b651e81
Translated using Weblate (Italian)
mymage Oct 7, 2025
0fae91b
edi_endpoint: fix create_exchange_record helper
simahawk Oct 14, 2025
b93216a
[BOT] post-merge updates
OCA-git-bot Nov 26, 2025
be0ee58
[IMP] edi_endpoint_oca: pre-commit stuff
JordiMForgeFlow Mar 30, 2026
526acff
[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