- Mailing Lists
- Contributors
- Generic rest_api modules
Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
Generic rest_api modules
With Acsone, Camptocamp and Forgeflow, we are working on several generic rest_api modules on top of odoo/oca modules that can be used in whatever application you need (e-commerce, event, portal, ....)
We were thinking first to put this modules in every related oca repo, but it's will make hard for us to maintain it (module will be everywhere)
So we would like to have a centralized repository to put all this "api" modules so it will be easier
- to have a quick overview for developper of the list of existing generic endpoint
by Sébastien Beau - 12:41 - 15 Jun 2022
Follow-Ups
-
Re: Generic rest_api modules
Thanks all for sharing, all are clear and useful.🙏On Thu, Jul 7, 2022, 16:22 Naran M <notifications@odoo-community.org> wrote:Hi Kitti,I found the "openapi" module works quite well for a generic use case. https://apps.odoo.com/apps/modules/14.0/openapi/-NaranOn Thu, Jul 7, 2022 at 5:16 PM Kitti Upariphutthiphong <notifications@odoo-community.org> wrote:Dear community,I did use the OCA base_rest, it all works fine. Except we need to create new modules for new models needed, and the collective maintenance can be high.I have found this module pretty generic to use https://github.com/yezyilomo/odoo-rest-api. (I found this the only non-paid module so far).Just curious why OCA don't do something more generic like the above link (which does not seem to be difficult to do either). What is the pros and cons?On Thu, Jun 16, 2022 at 9:57 PM Raphaël Valyi <rvalyi@akretion.com> wrote:Hello contributors,I have no opinion about Sebastien's proposal. But I take advantage of the thread to mention at Akretion we created this Stock 3 PL REST API module (3rd party logistics)It can fit for 3rd party logistics when you need something simpler than Shopfloor.The project got stalled with the pandemic and I'm still a bit over-busy to take care of pushing it to the OCA, but at least you know it exists now. I was planning to submit it to stock-logistics-workflow but eventually I'll push it to this new repo if you think it fits better.Help for this stock_3pl_api (review and tests) would be very welcome...On Thu, Jun 16, 2022 at 7:52 AM Benoît Guillot <benoit.guillot@akretion.com> wrote:+1Le jeu. 16 juin 2022 à 08:22, Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com> a écrit :I'm good with the proposal SébastienLe mer. 15 juin 2022 à 14:07, Simone Orsi <simahawk@gmail.com> a écrit :+1On Wed, Jun 15, 2022 at 1:27 PM Mignon, Laurent <laurent.mignon@acsone.eu> wrote:I would prefer to keep the 'base' modules into their own repository. The maintainers are not the same and it's easier to maintain and manage addons within a small repo than a larger one.+1 for the new rest-api repo.On Wed, Jun 15, 2022 at 12:46 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Why not renaming current OCA/rest-framework to that more generic one and host there both framework and the modules that use it? Remember that the maintenance burden increases on each new repository added to OCA.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Raphaël ValyiFounder and consultant_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 01:46 - 9 Jul 2022 -
Re: Generic rest_api modules
Hi Kitti,I found the "openapi" module works quite well for a generic use case. https://apps.odoo.com/apps/modules/14.0/openapi/-NaranOn Thu, Jul 7, 2022 at 5:16 PM Kitti Upariphutthiphong <notifications@odoo-community.org> wrote:Dear community,I did use the OCA base_rest, it all works fine. Except we need to create new modules for new models needed, and the collective maintenance can be high.I have found this module pretty generic to use https://github.com/yezyilomo/odoo-rest-api. (I found this the only non-paid module so far).Just curious why OCA don't do something more generic like the above link (which does not seem to be difficult to do either). What is the pros and cons?On Thu, Jun 16, 2022 at 9:57 PM Raphaël Valyi <rvalyi@akretion.com> wrote:Hello contributors,I have no opinion about Sebastien's proposal. But I take advantage of the thread to mention at Akretion we created this Stock 3 PL REST API module (3rd party logistics)It can fit for 3rd party logistics when you need something simpler than Shopfloor.The project got stalled with the pandemic and I'm still a bit over-busy to take care of pushing it to the OCA, but at least you know it exists now. I was planning to submit it to stock-logistics-workflow but eventually I'll push it to this new repo if you think it fits better.Help for this stock_3pl_api (review and tests) would be very welcome...On Thu, Jun 16, 2022 at 7:52 AM Benoît Guillot <benoit.guillot@akretion.com> wrote:+1Le jeu. 16 juin 2022 à 08:22, Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com> a écrit :I'm good with the proposal SébastienLe mer. 15 juin 2022 à 14:07, Simone Orsi <simahawk@gmail.com> a écrit :+1On Wed, Jun 15, 2022 at 1:27 PM Mignon, Laurent <laurent.mignon@acsone.eu> wrote:I would prefer to keep the 'base' modules into their own repository. The maintainers are not the same and it's easier to maintain and manage addons within a small repo than a larger one.+1 for the new rest-api repo.On Wed, Jun 15, 2022 at 12:46 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Why not renaming current OCA/rest-framework to that more generic one and host there both framework and the modules that use it? Remember that the maintenance burden increases on each new repository added to OCA.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Raphaël ValyiFounder and consultant_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Naran Moturi - 11:21 - 7 Jul 2022 -
Re: Generic rest_api modules
I've also seen a third implementation, by MuK, which allows you to basically build your REST API on the fly through the UI. So it's generic, but also customizable by consultants.
It would be really nice to have this in OCA as well, but it would be some work.
Same goes for the "connector" framework by the way - it would be great if a consultant can just build his importer, exporter, mapper, instead of requiring the programmer.
On 7/7/22 09:57, Joël Grand-Guillaume wrote:
Hi Kitty,
Very good remark ! The generic one you propose is a great one. I like approaches such as this one.
Now I think this serves a different purpose I guess. A generic one allows you to access basically everything you can according to your access right and always in the same way. The other approach allows you to define what is accessible or not over REST. It also allows you to write what method with which syntax you want to have. This is clearly needed in advance interface with transactional behavior (not only data fetching).
In the end, we'd like to have both probably ;)
On Thu, Jul 7, 2022 at 9:16 AM Kitti Upariphutthiphong <notifications@odoo-community.org> wrote:
Dear community,
I did use the OCA base_rest, it all works fine. Except we need to create new modules for new models needed, and the collective maintenance can be high.
I have found this module pretty generic to use https://github.com/yezyilomo/odoo-rest-api. (I found this the only non-paid module so far).
Just curious why OCA don't do something more generic like the above link (which does not seem to be difficult to do either). What is the pros and cons?
On Thu, Jun 16, 2022 at 9:57 PM Raphaël Valyi <rvalyi@akretion.com> wrote:
Hello contributors,
I have no opinion about Sebastien's proposal. But I take advantage of the thread to mention at Akretion we created this Stock 3 PL REST API module (3rd party logistics)It can fit for 3rd party logistics when you need something simpler than Shopfloor.
The project got stalled with the pandemic and I'm still a bit over-busy to take care of pushing it to the OCA, but at least you know it exists now. I was planning to submit it to stock-logistics-workflow but eventually I'll push it to this new repo if you think it fits better.
Help for this stock_3pl_api (review and tests) would be very welcome...
On Thu, Jun 16, 2022 at 7:52 AM Benoît Guillot <benoit.guillot@akretion.com> wrote:
+1
Le jeu. 16 juin 2022 à 08:22, Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com> a écrit :
I'm good with the proposal Sébastien
Le mer. 15 juin 2022 à 14:07, Simone Orsi <simahawk@gmail.com> a écrit :
+1
On Wed, Jun 15, 2022 at 1:27 PM Mignon, Laurent <laurent.mignon@acsone.eu> wrote:
I would prefer to keep the 'base' modules into their own repository. The maintainers are not the same and it's easier to maintain and manage addons within a small repo than a larger one.
+1 for the new rest-api repo.
On Wed, Jun 15, 2022 at 12:46 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:
Why not renaming current OCA/rest-framework to that more generic one and host there both framework and the modules that use it? Remember that the maintenance burden increases on each new repository added to OCA.
Regards.
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Simone Orsi
Full stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Raphaël ValyiFounder and consultant
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--
Joël Grand-GuillaumeDepartment Head
Business Solutions
New address from 1st September 2022
Camptocamp SA
Route de la Chaux 4
1030 Bussigny
Suisse
Discover more about our new base camp office!
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Tom Blauwendraat - 10:56 - 7 Jul 2022 -
Re: Generic rest_api modules
Hi Kitty,Very good remark ! The generic one you propose is a great one. I like approaches such as this one.Now I think this serves a different purpose I guess. A generic one allows you to access basically everything you can according to your access right and always in the same way. The other approach allows you to define what is accessible or not over REST. It also allows you to write what method with which syntax you want to have. This is clearly needed in advance interface with transactional behavior (not only data fetching).In the end, we'd like to have both probably ;)On Thu, Jul 7, 2022 at 9:16 AM Kitti Upariphutthiphong <notifications@odoo-community.org> wrote:Dear community,I did use the OCA base_rest, it all works fine. Except we need to create new modules for new models needed, and the collective maintenance can be high.I have found this module pretty generic to use https://github.com/yezyilomo/odoo-rest-api. (I found this the only non-paid module so far).Just curious why OCA don't do something more generic like the above link (which does not seem to be difficult to do either). What is the pros and cons?On Thu, Jun 16, 2022 at 9:57 PM Raphaël Valyi <rvalyi@akretion.com> wrote:Hello contributors,I have no opinion about Sebastien's proposal. But I take advantage of the thread to mention at Akretion we created this Stock 3 PL REST API module (3rd party logistics)It can fit for 3rd party logistics when you need something simpler than Shopfloor.The project got stalled with the pandemic and I'm still a bit over-busy to take care of pushing it to the OCA, but at least you know it exists now. I was planning to submit it to stock-logistics-workflow but eventually I'll push it to this new repo if you think it fits better.Help for this stock_3pl_api (review and tests) would be very welcome...On Thu, Jun 16, 2022 at 7:52 AM Benoît Guillot <benoit.guillot@akretion.com> wrote:+1Le jeu. 16 juin 2022 à 08:22, Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com> a écrit :I'm good with the proposal SébastienLe mer. 15 juin 2022 à 14:07, Simone Orsi <simahawk@gmail.com> a écrit :+1On Wed, Jun 15, 2022 at 1:27 PM Mignon, Laurent <laurent.mignon@acsone.eu> wrote:I would prefer to keep the 'base' modules into their own repository. The maintainers are not the same and it's easier to maintain and manage addons within a small repo than a larger one.+1 for the new rest-api repo.On Wed, Jun 15, 2022 at 12:46 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Why not renaming current OCA/rest-framework to that more generic one and host there both framework and the modules that use it? Remember that the maintenance burden increases on each new repository added to OCA.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Raphaël ValyiFounder and consultant_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Joël Grand-GuillaumeDepartment HeadBusiness SolutionsNew address from 1st September 2022
Camptocamp SA
Route de la Chaux 4
1030 Bussigny
Suisse
Discover more about our new base camp office!
by Joël Grand Guillaume - 09:56 - 7 Jul 2022 -
Re: Generic rest_api modules
Dear community,I did use the OCA base_rest, it all works fine. Except we need to create new modules for new models needed, and the collective maintenance can be high.I have found this module pretty generic to use https://github.com/yezyilomo/odoo-rest-api. (I found this the only non-paid module so far).Just curious why OCA don't do something more generic like the above link (which does not seem to be difficult to do either). What is the pros and cons?On Thu, Jun 16, 2022 at 9:57 PM Raphaël Valyi <rvalyi@akretion.com> wrote:Hello contributors,I have no opinion about Sebastien's proposal. But I take advantage of the thread to mention at Akretion we created this Stock 3 PL REST API module (3rd party logistics)It can fit for 3rd party logistics when you need something simpler than Shopfloor.The project got stalled with the pandemic and I'm still a bit over-busy to take care of pushing it to the OCA, but at least you know it exists now. I was planning to submit it to stock-logistics-workflow but eventually I'll push it to this new repo if you think it fits better.Help for this stock_3pl_api (review and tests) would be very welcome...On Thu, Jun 16, 2022 at 7:52 AM Benoît Guillot <benoit.guillot@akretion.com> wrote:+1Le jeu. 16 juin 2022 à 08:22, Joël Grand-Guillaume <joel.grandguillaume@camptocamp.com> a écrit :I'm good with the proposal SébastienLe mer. 15 juin 2022 à 14:07, Simone Orsi <simahawk@gmail.com> a écrit :+1On Wed, Jun 15, 2022 at 1:27 PM Mignon, Laurent <laurent.mignon@acsone.eu> wrote:I would prefer to keep the 'base' modules into their own repository. The maintainers are not the same and it's easier to maintain and manage addons within a small repo than a larger one.+1 for the new rest-api repo.On Wed, Jun 15, 2022 at 12:46 PM Pedro M. Baeza (Tecnativa) <pedro.baeza@tecnativa.com> wrote:Why not renaming current OCA/rest-framework to that more generic one and host there both framework and the modules that use it? Remember that the maintenance burden increases on each new repository added to OCA.Regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Simone OrsiFull stack Python web developer, Odoo specialist, Odoo Community Board Member, in love with open source._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Mobile : +33 6 66 50 39 90Jabber/Gtalk : benoit.guillot@akretion.com.br_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Raphaël ValyiFounder and consultant_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Kitti Upariphutthiphong - 09:16 - 7 Jul 2022