Skip to Content

Contributors

  • Re: Module loading priority and inheritance
    Thanks for the investigation. Your proposals seems good, but not sure if Odoo will add such mechanisms in the framework. You can try.

    Regards.

    by Pedro M. Baeza - 12:26 - 17 Jun 2022
  • Re: Module loading priority and inheritance
    After investigation, the sequence field is only used for the kanban view to display applications in a specific order.

    Module list is fetched from database in odoo/odoo/modules/loading.py::load_marked_modules with this query

    cr.execute("SELECT name from ir_module_module WHERE state IN %s" ,(tuple(states),))

    So, the module loading order actually depends on 4 params:
    1. PostgreSQL database collation
    2. Module name
    3. Datetime of the creation of the ir_module_module row (since no ORDER BY is defined in the query)
    4. The dependencies
    That's a terrible loading implementation as the parameter 3 is based on an internal postgreSQL data, it also depends on the list order of your addons_path and also depends on when odoo/addons/base/models/ir_module.py::update_list is called.

    Example for this last assertion:
    • On the development database:
      • You add the module account_extra, that depends on account and override method update_something, in your main addons path
      • update_list()
      • Two weeks later, you add the module account_best , that also depends on account and also override the method update_something, in your main addons path
      • update_list()
      • Module account_extra will be loaded before account_best
    • Three weeks later, on the production database:
      • You add modules account_extra and account_best in your main addons path
      • update_list()
      • Module account_best will be loaded before account_extra
    And there I'm not talking about other cases like:
    • Multiple addons_path
    • Manual module deletion from odoo module list followed by a module list update
    • Manual module installation from UI whereas the server is already started with loaded modules

    So, I agree that most cases would be solved by the depends attribute but a fix could still be:
    • Add a loading_priority manifest key:
      • default value is 0 if not set, could be positive (load before) or negative (load after)
      • add an ORDER BY loading_priority, name in all SQL query of the loading.py
    • Add a soft_depends manifest key:
      • a list of modules that we depends on, only if they exists and are installed


    by Yann Papouin - 11:00 - 17 Jun 2022
  • Re: Generic rest_api modules
    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



    --
    Benoît Guillot
    Mail: benoit.guillot@akretion.com
    Mobile : +33 6 66 50 39 90

    _______________________________________________
    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 Valyi
    Founder and consultant


    by "Raphaël Valyi" <rvalyi@akretion.com> - 04:55 - 16 Jun 2022
  • Re: Generic rest_api modules
    +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



    --
    Benoît Guillot
    Mail: benoit.guillot@akretion.com
    Mobile : +33 6 66 50 39 90

    by Benoît Guillot - 12:51 - 16 Jun 2022
  • Re: New repos proposal



    On 6/16/22 10:22, Daniel Reis wrote:

    Adding multiple repos makes it harder for contributors to know where to submit a new module.

    Can we make sure there are clear scope statements in the READMEs, and that these also link to the closely related ropes, helping contributors know about them.
    Agree with this totally.

    To make these scope statements more concrete:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).
    This description as a scope statement IMO should be better, it should be crystal clear why this is not part of "OCA/rest-framework". As it stands now, this text does not teach or convince me why it should be separate. Could we come up with a better text?

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    For this the reason to separate is much more clear. OCA/wms is definitely the wrong place, as you want to be able to use this framework for "any app".

    Three questions though:

    1. Why "builder" ? Does this actually build apps for you, or is it just a framework. A builder sounds to me as a tool that allows you to generate an app from building blocks. If a framework, "pwa", "pwa-core", "pwa-engine" or "pwa-framework" sounds more appropriate to me.

    2. Is this limited to be used as a PWA, or can it also just be used as a replacement for the Odoo web portal? In my view, a "PWA" is something that has a service worker and can be "installed" to your system. Otherwise something like "web-app-engine" would be more appropriate (analogous to reporting-engine: housing an alternative OCA reporting engine)

    3. Considering that it's based on VueJS, wouldn't a better name be "web-app-vuejs" or "pwa-vuejs", in order to separate it from efforts by any future OCA member companies who prefer Angular or React as their tool of choice, and want to open source their alternative engine?




    by Tom Blauwendraat - 11:35 - 16 Jun 2022
  • Re: New repos proposal
    I have a concern here:

    Adding multiple repos makes it harder for contributors to know where to submit a new module.

    Can we make sure there are clear scope statements in the READMEs, and that these also link to the closely related ropes, helping contributors know about them.

    Does this make sense?

    --dr 

    No dia 14/06/2022, às 10:52, Antonio M. Vigliotti (gmail) <antoniomaria.vigliotti@gmail.com> escreveu:

    
    1.  web-api: may be useful if full documentation will be available; most of api and/or rest could not be used without documentation

    2. pwa-builder: great idea! pwa applications are very very interesting and the give a lot of value to Odoo. Good! Good! Good!
     

    Antonio M. Vigliotti

    Mobile (+39) 342.8740910



    Il 14/06/22 09:22, Simone Orsi ha scritto:
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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


    by Daniel Reis - 10:20 - 16 Jun 2022
  • Re: Generic rest_api modules
    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


    by Joël Grand Guillaume - 08:21 - 16 Jun 2022
  • Re: Module loading priority and inheritance
    AFAIK, there's a `sequence` manifest key for such loading order.

    Regards.

    by Pedro M. Baeza - 05:26 - 15 Jun 2022
  • Module loading priority and inheritance
    Hi,

    I just installed the auth_totp module to add MFA support to our odoo 12.0 instance and its behaviour is totally broken after a server restart when the auth_ldap module is also installed.

    Because _check_credentials logic is just made to accept at least one Valid authentication and not globally refuse any authentication, the current implementation of the auth_totp will always fail if a module validate _check_credentials after that the MfaLoginNeeded exception is raised.

    To me it's more a framework issue and the manifest should allow a new priority value to sort modules without inter-dependencies (because actually, it seems to use an alphabetic sorting based on module name).
    But without this, how do you handle such situations ?

    --
    Yann PAPOUIN, Ingénieur R&D | DEC


    by Yann Papouin - 03:31 - 15 Jun 2022
  • Re: New repos proposal
    +1

    On Wed, Jun 15, 2022 at 2:02 PM Bruno Joliveau <bruno.joliveau@numigi.com> wrote:
    +1
    Bruno Joliveau - Président
    NUMIGI SOLUTIONS INC.
    (514) 317-7944

    Longueuil, Québec, Canada

    linkedinyoutubecustom-icontwitter


    Le mar. 14 juin 2022 à 03:22, Simone Orsi <simahawk@gmail.com> a écrit :
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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


    by Laurent Mignon - 02:11 - 15 Jun 2022
  • Re: Generic rest_api modules
    +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.

    by Simone Orsi - 02:06 - 15 Jun 2022
  • Re: New repos proposal
    +1
    Bruno Joliveau - Président
    NUMIGI SOLUTIONS INC.
    (514) 317-7944

    Longueuil, Québec, Canada

    linkedinyoutubecustom-icontwitter


    Le mar. 14 juin 2022 à 03:22, Simone Orsi <simahawk@gmail.com> a écrit :
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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


    by Bruno Joliveau - 02:01 - 15 Jun 2022
  • Re: Generic rest_api modules
    +1
    The existing for the framework
    The other for the API Libraries
    Bruno Joliveau - Président
    NUMIGI SOLUTIONS INC.
    (514) 317-7944

    Longueuil, Québec, Canada

    linkedinyoutubecustom-icontwitter


    Le mer. 15 juin 2022 à 07:27, Mignon, Laurent <laurent.mignon@acsone.eu> a écrit :
    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


    by Bruno Joliveau - 02:01 - 15 Jun 2022
  • Re: Generic rest_api modules
    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


    by Laurent Mignon - 01:26 - 15 Jun 2022
  • Re: New repos proposal
    I'm fine with this.

    The module that help exposing REST endpoints dynamically may also go to rest-framework, but I'm fine with having it in a separate repo too.

    Best regards,

    -sbi

    On Wed, Jun 15, 2022 at 10:42 AM Alexey Pelykh <alexey.pelykh@gmail.com> wrote:
    +1

    Sent from my iPhone

    On 15 Jun 2022, at 10:37, Benoît Guillot <benoit.guillot@akretion.com> wrote:

    
    +1

    Le mer. 15 juin 2022 à 09:27, Hector Villarreal Ortega <hector.villarreal@forgeflow.com> a écrit :
    +1

    El mar, 14 jun 2022 a las 11:52, Antonio M. Vigliotti (gmail) (<antoniomaria.vigliotti@gmail.com>) escribió:
    1.  web-api: may be useful if full documentation will be available; most of api and/or rest could not be used without documentation

    2. pwa-builder: great idea! pwa applications are very very interesting and the give a lot of value to Odoo. Good! Good! Good!
     

    Antonio M. Vigliotti

    Mobile (+39) 342.8740910



    Il 14/06/22 09:22, Simone Orsi ha scritto:
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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



    --
    Héctor Villarreal Ortega
    Technical Consultant 
    twitter: /h_vior  |  Linkedin: /hectorvior


          

    The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Benoît Guillot
    Mail: benoit.guillot@akretion.com
    Mobile : +33 6 66 50 39 90

    _______________________________________________
    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 Stéphane Bidoul - 01:21 - 15 Jun 2022
  • Re: Generic rest_api modules
    I'd  prefer not to extend the scope of the rest-framework repo. It is the framework, it is better to keep it small and focused.

    Adding repos is not really a maintenance burden for me, I don't worry about that.

    So +1 for the rest-api repo.

    -sbi

    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


    by Stéphane Bidoul - 01:21 - 15 Jun 2022
  • Re: Generic rest_api modules
    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.

    by Pedro M. Baeza - 12:45 - 15 Jun 2022
  • Generic rest_api modules
    Hi all

    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
    - to maintain, by having the api maintainer working on only one repo

    So are you ok with having a "rest-api" repo ?

    In the long term if this repo starts to be too big, we may split it by domain (sale-rest-api, manufacturing-rest-api...)

    Thanks

    by Sébastien Beau - 12:41 - 15 Jun 2022
  • Re: New repos proposal
    +1

    Sent from my iPhone

    On 15 Jun 2022, at 10:37, Benoît Guillot <benoit.guillot@akretion.com> wrote:

    
    +1

    Le mer. 15 juin 2022 à 09:27, Hector Villarreal Ortega <hector.villarreal@forgeflow.com> a écrit :
    +1

    El mar, 14 jun 2022 a las 11:52, Antonio M. Vigliotti (gmail) (<antoniomaria.vigliotti@gmail.com>) escribió:
    1.  web-api: may be useful if full documentation will be available; most of api and/or rest could not be used without documentation

    2. pwa-builder: great idea! pwa applications are very very interesting and the give a lot of value to Odoo. Good! Good! Good!
     

    Antonio M. Vigliotti

    Mobile (+39) 342.8740910



    Il 14/06/22 09:22, Simone Orsi ha scritto:
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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



    --
    Héctor Villarreal Ortega
    Technical Consultant 
    twitter: /h_vior  |  Linkedin: /hectorvior


          

    The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Benoît Guillot
    Mail: benoit.guillot@akretion.com
    Mobile : +33 6 66 50 39 90

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe


    by Alexey Pelykh - 10:41 - 15 Jun 2022
  • Re: New repos proposal
    +1

    Le mer. 15 juin 2022 à 09:27, Hector Villarreal Ortega <hector.villarreal@forgeflow.com> a écrit :
    +1

    El mar, 14 jun 2022 a las 11:52, Antonio M. Vigliotti (gmail) (<antoniomaria.vigliotti@gmail.com>) escribió:
    1.  web-api: may be useful if full documentation will be available; most of api and/or rest could not be used without documentation

    2. pwa-builder: great idea! pwa applications are very very interesting and the give a lot of value to Odoo. Good! Good! Good!
     

    Antonio M. Vigliotti

    Mobile (+39) 342.8740910



    Il 14/06/22 09:22, Simone Orsi ha scritto:
    Hi all,

    I'd like to propose 2 new repos:

    1. web-api : collect modules to expose or deal with web api (eg: custom management for routes and endpoints, generic tools to handle calls to ext api, etc).

    2. pwa-builder : collect modules that allow to create and manage standalone PWA apps. As many of you know I split the core of the shopfloor wms app some time ago and this core now allows you to create - potentially - any kind of PWA app w/ its backend (based on rest services) and frontend tools (VueJS based). This core is now in OCA/wms but that's not really the right place. The name is not adequate too (shopfloor_base) so I think I'm going to rename it to pwa_core or pwa_builder or something similar.

    I'd say each of them should have its own PSC but maybe having one is fine too.

    Looking fwd to your feedback.

    Bests,

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



    --
    Héctor Villarreal Ortega
    Technical Consultant 
    twitter: /h_vior  |  Linkedin: /hectorvior


          

    The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.

    _______________________________________________
    Mailing-List: https://odoo-community.org/groups/contributors-15
    Post to: mailto:contributors@odoo-community.org
    Unsubscribe: https://odoo-community.org/groups?unsubscribe



    --
    Benoît Guillot
    Mail: benoit.guillot@akretion.com
    Mobile : +33 6 66 50 39 90

    by Benoît Guillot - 10:36 - 15 Jun 2022