Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13.0][BKP][ADD]backport endpoint modules #1059

Closed
wants to merge 128 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
30dd22c
Add endpoint_route_handler
simahawk Oct 25, 2021
cef1275
endpoint_route_handler: reduce log noise
simahawk Nov 18, 2021
7802397
endpoint_route_handler 14.0.1.0.1
OCA-git-bot Nov 18, 2021
aaba7a8
endpoint_route_handler: fix archive/unarchive
simahawk Dec 28, 2021
dca1b01
endpoint_route_handler: fix multi env handling
simahawk Dec 29, 2021
19722f9
endpoint_route_handler 14.0.1.0.2
OCA-git-bot Jan 12, 2022
01fa943
Misc fix of authorship name
simahawk Jan 14, 2022
95e941d
endpoint_route_handler 14.0.1.0.3
OCA-git-bot Jan 14, 2022
87b7506
endpoint_route_handler: fix rules by group
simahawk Jan 19, 2022
ebee2fb
endpoint_route_handler 14.0.1.0.4
OCA-git-bot Jan 19, 2022
8052788
endpoint_route_handler: dev status = Beta
simahawk Apr 4, 2022
e4a2cbf
endpoint_route_handler 14.0.1.1.0
OCA-git-bot Apr 4, 2022
ac692fd
endpoint_route_handler: move to OCA/web-api
simahawk Jun 15, 2022
3bbeb6a
[UPD] README.rst
OCA-git-bot Jul 15, 2022
7e1488b
[UPD] Update endpoint_route_handler.pot
Jul 15, 2022
1405eaf
[UPD] Update endpoint_route_handler.pot
Jul 15, 2022
f15ef21
endpoint_route_handler: fix cross worker lookup
simahawk Jun 15, 2022
c82dacf
endpoint_route_handler: add flag to control sync
simahawk Jul 25, 2022
34059b2
endpoint_route_handler: add constraints
simahawk Jul 27, 2022
be9413b
endpoint_route_handler: add auto timestamp to routes
simahawk Nov 1, 2022
fc988d0
endpoint_route_handler: fix typo in validator
simahawk Jul 25, 2022
ca4bc5e
endpoint_route_handler: add new tool model
simahawk Feb 16, 2023
0be0fb7
endpoint_route_handler: use sequence as version
simahawk Mar 1, 2023
69f2a6f
endpoint_route_handler: log table setup and wipe
simahawk Mar 8, 2023
c6dcc21
endpoint_route_handler: fail gracefully when sync field not ready
simahawk Mar 8, 2023
4ae5be5
endpoint_route_handler: get rid of register_hook
simahawk Mar 27, 2023
a284bfa
endpoint_route_handler: fix auto_not_found param
simahawk Apr 21, 2023
5580add
endpoint_route_handler: 14.0.2.0.0
simahawk May 11, 2023
9b7a18a
[UPD] Update endpoint_route_handler.pot
May 11, 2023
fa12aa4
[UPD] README.rst
OCA-git-bot May 11, 2023
661d441
endpoint_route_handler: update ROADMAP
simahawk May 12, 2023
e1cf924
[UPD] README.rst
OCA-git-bot May 12, 2023
84ef8f1
endpoint_route_handler 14.0.2.0.1
OCA-git-bot May 12, 2023
4f2f3a5
[UPD] README.rst
OCA-git-bot Sep 3, 2023
4131f84
Added translation using Weblate (Italian)
mymage Feb 29, 2024
eeaf811
[FIX] endpoint_route_handler: Use dedicated cursor for registry
grindtildeath Mar 4, 2024
f0e22dd
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
269e60a
[IMP] endpoint_route_handler: add request_content_type application_js…
OriolMForgeFlow Jul 17, 2023
5f036b5
[BOT] post-merge updates
OCA-git-bot Jul 8, 2024
7093436
[IMP]endpoint_route_handler: black, isort, prettier
GuillemCForgeFlow Oct 29, 2024
1e993af
[BKP][ADD]endpoint_route_handler
GuillemCForgeFlow Oct 29, 2024
60d2919
Add endpoint module
simahawk Sep 13, 2021
43c0deb
endpoint: add cross model constraint
simahawk Oct 14, 2021
87acf36
endpoint: split out route handling
simahawk Oct 25, 2021
cfeb007
[FIX] endpoint: fix loading of demo data
sebalix Nov 9, 2021
b7a161a
endpoint 14.0.1.0.1
OCA-git-bot Nov 9, 2021
00d887a
endpoint: add tests for archive/unarchive
simahawk Dec 28, 2021
c997edd
endpoint: update tests
simahawk Dec 29, 2021
3d76f54
endpoint: improve search/tree views
simahawk Nov 12, 2021
01e34ed
endpoint 14.0.1.0.2
OCA-git-bot Jan 12, 2022
3255089
endpoint 14.0.1.1.0
OCA-git-bot Jan 12, 2022
7a66751
Misc fix of authorship name
simahawk Jan 14, 2022
1bf686b
endpoint 14.0.1.1.1
OCA-git-bot Jan 14, 2022
5ae78f8
endpoint: block all RPC calls
simahawk Feb 18, 2022
3a8a52b
endpoint 14.0.1.3.0
OCA-git-bot Mar 11, 2022
595d96c
endpoint: move to web-api
simahawk Jun 15, 2022
aaf142e
[UPD] Update endpoint.pot
Jul 15, 2022
4048e2b
[UPD] README.rst
OCA-git-bot Jul 15, 2022
ab58441
Added translation using Weblate (French)
klodr Sep 15, 2022
17181e6
endpoint: adapt to endpoint_route_handler
simahawk Jun 15, 2022
c6438f0
endpoint: use registry_sync flag and improve tests
simahawk Jul 25, 2022
dc85667
endpoint: adapt to new sync behavior
simahawk Jul 26, 2022
f2d59e2
endpoint_route_handler: use sequence as version
simahawk Mar 1, 2023
93cb1b8
endpoint: use model explicitly to find endpoints
simahawk Apr 21, 2023
80d5082
endpoint: 14.0.2.0.0
simahawk May 11, 2023
09deb1d
[UPD] Update endpoint.pot
May 11, 2023
f2fbf31
[UPD] README.rst
OCA-git-bot May 11, 2023
0b8b48b
Update translation files
weblate May 11, 2023
7aceeab
endpoint: update ROADMAP
simahawk May 12, 2023
84c9829
[UPD] README.rst
OCA-git-bot May 12, 2023
6cd7b6c
endpoint 14.0.2.0.1
OCA-git-bot May 12, 2023
f4c5582
endpoint: fix duplicate
simahawk May 25, 2023
bd7f5d4
endpoint 14.0.2.0.2
OCA-git-bot May 25, 2023
edd8bc1
[UPD] README.rst
OCA-git-bot Sep 3, 2023
e5960e2
Added translation using Weblate (Italian)
mymage Feb 29, 2024
31a7532
endpoint: add log function
simahawk Jul 2, 2024
92a5d35
[IMP] endpoint: endpoint multi-company
JordiMForgeFlow Jun 5, 2024
4eee877
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
bcac5fc
[UPD] Update endpoint.pot
Jul 4, 2024
6afab82
[BOT] post-merge updates
OCA-git-bot Jul 4, 2024
9cf2b8a
Update translation files
weblate Jul 4, 2024
c112e2c
endpoint: add basic mixin view
simahawk Jul 23, 2024
3f7f7a0
[UPD] Update endpoint.pot
Jul 25, 2024
a9432ff
[BOT] post-merge updates
OCA-git-bot Jul 25, 2024
977bece
Update translation files
weblate Jul 25, 2024
67819dd
[IMP]endpoint: black, isort, prettier
GuillemCForgeFlow Oct 29, 2024
e780935
[BKP][ADD]endpoint
GuillemCForgeFlow Oct 29, 2024
f833f44
Add edi_endpoint_oca
simahawk Sep 15, 2021
d61ce74
[UPD] Update edi_endpoint_oca.pot
oca-travis Nov 2, 2021
e609d8b
[UPD] README.rst
OCA-git-bot Nov 2, 2021
4528952
[ADD] icon.png
OCA-git-bot Nov 2, 2021
d6d0784
edi_endpoint_oca 14.0.1.1.0
OCA-git-bot Nov 2, 2021
de528fc
edi_endpoint: fix load demo data
simahawk Nov 10, 2021
bfdd27f
edi_endpoint_oca 14.0.1.1.1
OCA-git-bot Nov 11, 2021
2a8b107
edi_endpoint: improve search/tree views
simahawk Nov 12, 2021
69bee5d
edi_endpoint_oca: fix manage endpoints action domain
simahawk Dec 28, 2021
81faac4
[UPD] Update edi_endpoint_oca.pot
Jan 12, 2022
31ef96a
edi_endpoint_oca 14.0.1.2.0
OCA-git-bot Jan 12, 2022
d410c16
Misc fix of authorship name
simahawk Jan 14, 2022
c252c44
edi_endpoint_oca 14.0.1.2.1
OCA-git-bot Jan 14, 2022
3c4dc92
[FIX] Fix access right issues when using actions
sebalix Jan 31, 2022
8c57860
edi_endpoint_oca 14.0.1.2.2
OCA-git-bot Jan 31, 2022
69e5f2c
[UPD] Update edi_endpoint_oca.pot
Aug 1, 2022
bfe8eea
edi_endpoint: prevent backend archive
simahawk Aug 12, 2022
950e311
edi_endpoint: improve endpoint count
simahawk Aug 12, 2022
7032abd
edi_endpoint: temp fix for tests
simahawk Aug 12, 2022
b6a27bf
[UPD] Update edi_endpoint_oca.pot
Aug 17, 2022
0e07b97
edi_endpoint_oca 14.0.1.3.0
OCA-git-bot Aug 17, 2022
2aec371
[UPD] Update edi_endpoint_oca.pot
May 16, 2023
289b6a3
edi_endpoint: integrate e_route_handler xworker fix
simahawk Jun 15, 2022
8d605ee
edi_endpoint: trash custom controller
simahawk Apr 21, 2023
3b68393
[UPD] Update edi_endpoint_oca.pot
May 17, 2023
d16abeb
edi_endpoint: dev status = Beta
simahawk Jun 1, 2023
48c5291
edi_endpoint: track endpoint on exchange record
simahawk May 29, 2023
de4362e
[UPD] Update edi_endpoint_oca.pot
Jun 1, 2023
de2861f
[UPD] README.rst
OCA-git-bot Jun 1, 2023
3414c9b
edi_endpoint_oca 14.0.1.5.0
OCA-git-bot Jun 1, 2023
c852c81
[UPD] README.rst
OCA-git-bot Sep 3, 2023
1d64f8c
Added translation using Weblate (Spanish)
Ivorra78 Nov 22, 2023
ee9e3cb
Translated using Weblate (Spanish)
Ivorra78 Nov 22, 2023
cf4520f
Translated using Weblate (Spanish)
Ivorra78 Nov 22, 2023
7154033
[UPD] Update edi_endpoint_oca.pot
Jul 10, 2024
01f2898
Update translation files
weblate Jul 10, 2024
51123c5
edi_endpoint: fix form view inheritance
simahawk Jul 23, 2024
3b477b9
[BOT] post-merge updates
OCA-git-bot Jul 26, 2024
b6800d1
[IMP]edi_endpoint_oca: black, isort, prettier
GuillemCForgeFlow Oct 29, 2024
37828cc
[BKP][ADD]edi_endpoint_oca
GuillemCForgeFlow Oct 29, 2024
dd87d89
[REF]edi_endpoint_oca: rename module to `edi_endpoint`
GuillemCForgeFlow Oct 29, 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
81 changes: 81 additions & 0 deletions edi_endpoint/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
============
EDI endpoint
============

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

.. |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
: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
: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&target_branch=14.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/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/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 <[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 <https://github.com/OCA/edi/tree/14.0/edi_endpoint>`_ 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/__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/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2021 Camptocamp SA
# @author: Simone Orsi <[email protected]>
# 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": "13.0.1.0.0",
"development_status": "Beta",
"license": "LGPL-3",
"website": "https://github.com/OCA/edi",
"author": "Camptocamp,Odoo Community Association (OCA)",
"depends": ["edi", "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/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.model_edi_endpoint" />
<field name="binding_model_id" ref="edi_endpoint.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/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.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.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.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