Skip to Content

Contributors

  • Re: Becoming a maintainer in l10n-poland
    And in this case, the contribution is of a transversal module, not the localization core, so becoming a PSC may be too much.

    Regards.

    by Pedro M. Baeza - 10:32 - 13 Oct 2023
  • Re: Becoming a maintainer in l10n-poland
    Usually approval of the current psc team is enough. If the team is not responding, then the community might approve him directly, but some evidence that they are missing is needed (no activity)

    On Fri, 13 Oct 2023, 10:17 Oleg Kuryan, <notifications@odoo-community.org> wrote:
    What is procedure of adding maintainer? 

    On Fri, Oct 13, 2023 at 10:07 AM Pedro M. Baeza <notifications@odoo-community.org> wrote:
    Please check and ping current PSCs:


    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 Enric Tobella Alomar - 10:26 - 13 Oct 2023
  • Re: Becoming a maintainer in l10n-poland
    If you need their github login, you can use the following link:


    El vie, 13 oct 2023 a las 10:07, Pedro M. Baeza (<notifications@odoo-community.org>) escribió:
    Please check and ping current PSCs:


    Regards.

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



    --
    Enric Tobella Alomar
    CEO & Founder


    by Enric Tobella Alomar - 10:16 - 13 Oct 2023
  • Re: Becoming a maintainer in l10n-poland
    What is procedure of adding maintainer? 

    On Fri, Oct 13, 2023 at 10:07 AM Pedro M. Baeza <notifications@odoo-community.org> wrote:
    Please check and ping current PSCs:


    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 Oleg Kuryan - 10:15 - 13 Oct 2023
  • Re: Becoming a maintainer in l10n-poland
    Please check and ping current PSCs:


    Regards.

    by Pedro M. Baeza - 10:06 - 13 Oct 2023
  • Becoming a maintainer in l10n-poland
    Hello,

    I would like to become a maintainer of the l10n-poland repository. https://github.com/OCA/l10n-poland I created a PR there in March and without dedicated maintainers it is still waiting to be merged. I would like to clean up the repo, merge all pending PRs there and migrate the module to other versions.

    I am an active Odoo developer with over 10 years of experience. In terms of contributions, in the last 6 months I have been translating odoo to polish (from ~40% to ~95%).

    Here is my github profile: https://github.com/TadeuszKarpinski
    and LinkedIn https://www.linkedin.com/in/tadeusz-jan-karpi%C5%84ski-01b0b9137/

    Tadeusz Karpiński

    by Tadeusz Karpiński - 09:56 - 13 Oct 2023
  • OCA Days and Delegates Campaign for the Annual AGA
    Hello OCA Contributors,

    I hope this email finds you well.

    Just to let you know of a few things happening at the moment:

    OCA DAYS 2023:
    This is now sold out. Thank you so much for the early support. We will be filming the talks and are looking forward to sharing them widely following the event. The full agenda of talks will be on the website from early next week.

    SOCIAL EVENTS  FOR THE OCA DAYS
    For those that have registered but haven't RSVP'd to the social events please do so now, we need to know by the end of this week - just a couple of quick surveys with a yes or no and any dietary requirements. We need to get our catering orders in ASAP and want to make sure we have everyone covered:
    The Monday RSVP survey also has dietary requirements for the lunches, so please click the link. 
    Even if you aren't planning on sticking around on Monday for dinner and music it is helpful to know that too but we've got a food truck and drinks waiting to be consumed and would love to spend time with you.

    VOLUNTEER HELP
    We have number of times we need help from our attendees:
    • Sunday afternoon -  We need help to set up the main room for the codesprint and chill out areas. It went super quick and easy last year with many hands making light work then heading to the evening social afterwards. If you can help let us know please.
    • Talk rooms, technical and functional - this will involve introducing speakers, making sure cameras are running and just helping things to go with the flow. If you are interested in helping with this please let me know. I'll have a roster set up next week following the release of the agenda but having a pool of people to call on will make this task much easier. 

    2023 DELEGATES CAMPAIGN

    The 2023 OCA Delegates Campaign is open. Until October 22nd, you can apply to be an OCA Delegate if you are a current paid Member. 
If you are already a Delegate, you don't need to apply again. This is for 10 new Delegates.
    Why?
    The Delegate Assembly is the Association’s supreme authority. Each Delegate member is entitled to one vote at the Delegate Assembly. Decisions of the Delegate Assembly are taken by a majority vote of the Delegate members present and voting. For further details, please read the Bylaws.
    How?
    To apply as a candidate, you have to:
    • sign the CLA (if not already done)
    • have a valid membership. Make sure to purchase your membership or renew it (you should have received a quotation for your renewal earlier this year).
    • if you aren't sure if you have renewed/paid your membership for 2023 please contact me.
    The campaign will be closed on October 22nd, 2023.
    Then what?
    The vote will be open from October 24th -  November 4th, 2023. Current OCA Delegates will have to vote for 10 new Delegates among the candidates. 
    The results of the election will be announced on November 6th, 2023. 
    The 10 new Delegates will then take part with the existing Delegates in :
    • the 2023 OCA Board Member Campaign from November 6th - 17th, 2023
    • the 2023 OCA Financial Auditor Campaign from November 6th - 17th, 2023
    • the 2023 General Assembly from November 20th to December 1st, 2023.

    If you have any questions please get in touch.
    Warmest regards,
    Rebecca


    --
    Rebecca Gellatly
    General Secretary
    Odoo Community Association

    by Rebecca Gellatly - 10:25 - 12 Oct 2023
  • Re: tool: Odoo Modules Migration

    Hello Florian,

    Seems we are targeting the same goals with different solutions, but a common ground could be found.

    Like you the code is hosted under our github: https://github.com/camptocamp/odoo-repository
    (still a "POC", need to write tests). I added some screenshots in the README.

    How to use it:
    - define a list of repositories + where to find modules in it (addons paths), it's not tied to any development environment
    - grab all kind of data from these repositories
    - define your Odoo projects and import the installed modules to do the match with the scanned data from repositories (if there is no match, try to find the relevant PR URLs on GitHub - pending merges). We could imagine a "phone home" module installed on customer Odoo instances that will be in charge to push these data to this Odoo Repository node, for now it is a simple copy/paste of installed modules in a wizard.

    We have to talk about these tools at OCA Days, you are going a step further with the migration complexity it is really interesting.

    Kind regards,


    Le 05/10/2023 à 10:27, Florian Kantelberg a écrit :

    Hello,

    interesting mail Sebastian. Most of it sounds familiar because we aim for the same goals with [1] (pypi odoo-analyse). Generally speaking odoo-analyse goes deeper than a simple lines of code analyses because there are plenty of cases reading the manifest isn't enough (e.g. Odoo 16.0 website has a hidden dependency towards iap because of an import). In the last days we extended it also to allow to estimate the modules which would be installed in a system without a database which should influence the initial topic of this mailing list [see 3] (@Jan). It resolves auto_install and dependencies starting from an initial module list.

    The tool is the foundation of [2] one of our long term projects and this is the reason why the current code is under our github and not pushed towards the OCA in the past. There would be no problem for a joint operation and we could push it to the OCA if we can stay maintainer of it. We (initOS) are also on the OCA days and would welcome support/ideas/feedback.

    We also already added complexity measurements in preparation to estimate a module and system complexity and furthermore a migration complexity. In the future we plan to offer a service to estimate module complexities in conjunction with the files from odoo-analyse (via a trained model) or for experts to estimate the complexities of modules to train a model even further basically as part of [2].

    Btw it lacks the repository management because this one is better handled externally (e.g. git-aggregator is a great tool). There are various build environments for Odoo and we learned that without the repository management we can easier analyse in different environments. Often enough there is already a CI or a development environment and reading the odoo.cfg is easy enough.

    Best Regards,

    Florian

    [1] https://github.com/initOS/odoo-analyse

    [2] https://www.odoo-code-search.com

    [3] `cat modules.txt | odoo_analyse -p odoo --modules - --analyse analyse.json --estimate-state --state-filter installed`

    where odoo is the folder under which ALL modules can be found

    Am 04.10.23 um 17:57 schrieb Sebastien Alix:

    Hi,

    I am the author of 'oca-port' so I'll try to answer your questions.

    These two tools aim two different purposes, but have few common points:

    - oca-port: it doesn't really know what is Odoo, this tool only plays with commits of git repositories to help the user to:
        1) migrate the git history of the module ('git format-patch' dance) and run pre-commit before inviting the user to follow the OCA migration guide. It'll also request GitHub API to find a open PR to invite the user to review it instead of creating a new one.
        2) for modules already migrated, it'll list the commits and related PRs that could be ported to fill the gap (fixes or features)
        3) a parsable output is available so we at Camptocamp are using it to scan OCA repositories and generate reports to estimate the work to achieve for migration projects (which modules are 100% ported, missing some fixes/features, have to be migrated and which ones having a PR to review)

    - odoo-module-migrator: from what I know (I do not use this tool yet) its job is to help you to migrate Odoo code to the target version (e.g. if a XML tag has been deprecated, it'll warn or update to the new format).

    Both tools could be used together, my idea would be that 'oca-port' leverages 'odoo-module-migrator' to automatically update the code in a migration process. From now, the user can call 'oca-port' then call 'odoo-module-migrator' manually (not tested), no big deal.

    I think the common points right now is that 'odoo-module-migrator' also does the 'git format-patch' step, and run pre-commit.


    FYI I also started an Odoo project that scans all kind of git repositories (OCA, Odoo, private repos) to collect modules metadata and consolidate all these data in one place, and it leverages oca-port to collect the migration data presented above. This tool aims to help functional & technical people with these kind of features:

    - get number of lines of code (Python/JS/XML/CSS) by module/repo/branch/organization or any filter you want
    - for maintainers, get a quick overview of the state of their modules
    - what are the most used OCA addons among all your Odoo projects
    - in term of lines of code of a customer project, how are they distributed among  Odoo, OCA and specifics
    - generate reports to ease the estimation of migration projects for a given migration path (e.g. 14.0 -> 16.0)
    - know all Python dependencies used in OCA to avoid versions conflicts or to improve security updates

    A lot of use cases could be addressed I guess. I'll probably make a presentation of this at OCA Days (need to finish some stuff, do some cleanup, host the code in a OCA repository, and address some questions regarding the hosting).

    Kind regards,


    Le 04/10/2023 à 09:26, Rafael Blasco a écrit :

    This is a really nice topic to have a doc/talk about for new contributor. Maybe for OCA DAys

     

    • Which is the use of both tool?
    • Why 2 and not just a single 1? (they should be different with different authors)
    • A "How to" for newcontribs are really useful to increase OCA

     

    It is not trivial and easy for everyone. The moment we take things for granted we lose contributors along the way.

     

    https://github.com/OCA/oca-port

    https://github.com/OCA/odoo-module-migrator

     

    Thank you!

    Regards

    Rafael

     

     

    De: Alexandre Fayolle <notifications@odoo-community.org>

    Enviado el: martes, 26 de septiembre de 2023 10:03

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Hello, you should check oca-port too

     

    https://github.com/OCA/oca-port

     

    Best regards

    --

    Alexandre Fayolle

    Senior Software Engineer

    Tel : +33 4 58 48 20 30

     

     

     

    De: Fernando La Chica <notifications@odoo-community.org>

    Enviado el: lunes, 18 de septiembre de 2023 23:08

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Take a look at this tool

     

    https://github.com/OCA/odoo-module-migrator

     

    At first I thought it was the same tool. I understand that it is out of the scope of your tool but I think it can be useful for your final objective which is to migrate a large number of modules.

     

    El lun, 18 sept 2023, 9:37, Jan Suhr | Nitrokey <notifications@odoo-community.org> escribió:

    Hi!

    I wrote a simple tool which helps me keeping an overview of module

    upgrades during ongoing upgrade projects, especially for a large amount

    of modules. I hope someone finds it useful.

     

    https://github.com/Nitrokey/odoo-modules-migration

     

    Best regards

    Jan

    __________________________________

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

    -- 
    Sébastien Alix
    Business Solutions Odoo Developer
    
    Camptocamp France SA
    https://www.camptocamp.com/

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

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://www.initos.com
    
    Geschäftsführung:
    Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
    
    Sitz der Gesellschaft: Buchholz i.d.N.
    Amtsgericht: Tostedt, HRB 205226
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

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

    -- 
    Sébastien Alix
    Business Solutions Odoo Developer
    
    Camptocamp France SA
    https://www.camptocamp.com/

    by Sébastien Alix - 11:21 - 11 Oct 2023
  • ABC Link Exchange Collaboration
    Hey There

    I came across your website while researching for Backlink Opportunities for my Website and found it to be relevant and of high quality to earn a backlink from.

    Should you offer to share a link to our website, we can give a non-reciprocal backlink in return from high authority site. Looking to hear from you to proceed further.

    Thanks and Regards
    Digital Marketing Strategist
    Have a great day

    by "Amy Sandra" <amysandra@allwebleads.info> - 09:05 - 10 Oct 2023
  • Re: Weblate resync
    Thanks to taking care of such maintenance tasks !

    Le lun. 9 oct. 2023 à 20:47, Stéphane Bidoul <notifications@odoo-community.org> a écrit :
    Hi everyone,

    Due to more and more frequent reports of situations where the .po files are not in sync with the corresponding .pot file, I have launched a full re-sync of all .po files for branches 12 to 16.

    This will impact availability of translation.odoo-community.org for a little while, since our 10 years old machine is struggling to handle this big weblate instance.

    This will also cause quite a few CI builds, possibly delaying pull requests checks during a few hours.

    Thank you for your patience.

    Best regards,

    -sbi

    --
    Stéphane Bidoul
    Founder and CTO
    http://acsone.eu/

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



    --
    Pierre

    by Pierre Verkest - 09:05 - 10 Oct 2023
  • Re: odoo offline
    Dear

    Namiiro Habiibah

    Download the source code (from the odoo enterprise panel) and run a local instance. You may make a backup from the live version and then upload it on yours.

    On Tue, Oct 10, 2023 at 9:12 AM Namiiro Habiibah <notifications@odoo-community.org> wrote:
    good morning, how can i use odoo 16 offline, i am using a standard plan of odoo 16

    Warm regards,

    NAMIIRO HABIIBAH,

    Software Developer with passion in grey-hat hacking

    MTA COMPUTERS LTD

    Lumumba Avenue, Plot 20,Piato Building

    P.O.BOX 9542.

    Kampala-Uganda.

    Mob: +256-753471299(0800-1700)

    Email: habiibah@mta.co.ug

    Website: https://www.mta.co.ug/

    Green Email signature Footers green signature green email green

    Disclaimer:
    This Message (Including any attachments) is intended only for the addressee(s) named and may contain confidential and or Proprietary information. MTA COMPUTERS LTD does not accept legal responsibility for the contents of this message. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you received this communication in error, please contact the sender by return email.


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


    by Mostafa Barmshory - 08:36 - 10 Oct 2023
  • Re: Weblate resync
    If the board thinks this is worth it, I can easily provision a new 
    server to run this service.
    
    Alexandre
    
    On 09/10/2023 20:47, Stéphane Bidoul wrote:
    
    > Hi everyone,
    
    > 
    
    > Due to more and more frequent reports of situations where the .po files 
    
    > are not in sync with the corresponding .pot file, I have launched a full 
    
    > re-sync of all .po files for branches 12 to 16.
    
    > 
    
    > This will impact availability of translation.odoo-community.org 
    
    > <http://translation.odoo-community.org> for a little while, since our 10 
    
    > years old machine is struggling to handle this big weblate instance.
    
    > 
    
    > This will also cause quite a few CI builds, possibly delaying pull 
    
    > requests checks during a few hours.
    
    > 
    
    > Thank you for your patience.
    
    > 
    
    > Best regards,
    
    > 
    
    > -sbi
    
    > 
    
    > --
    
    > Stéphane Bidoul
    
    > Founder and CTO
    
    > http://acsone.eu/ <http://acsone.eu/>
    
    > 
    
    > _______________________________________________
    
    > Mailing-List: https://odoo-community.org/groups/contributors-15 
    
    > <https://odoo-community.org/groups/contributors-15>
    
    > Post to: mailto:contributors@odoo-community.org
    
    > Unsubscribe: https://odoo-community.org/groups?unsubscribe 
    
    > <https://odoo-community.org/groups?unsubscribe>
    
    > 
    
    
    -- 
    Alexandre Fayolle
    Senior Software Engineer
    Tel : +33 4 58 48 20 30
    
    Camptocamp France SAS
    18 rue du Lac Saint André
    73 370 Le Bourget-du-Lac
    France
    
    http://www.camptocamp.com
    
    

    by Alexandre Fayolle - 08:25 - 10 Oct 2023
  • Re: Weblate resync
    Thanks!

    Regards.

    by Pedro M. Baeza - 08:12 - 10 Oct 2023
  • odoo offline
    good morning, how can i use odoo 16 offline, i am using a standard plan of odoo 16

    Warm regards,

    NAMIIRO HABIIBAH,

    Software Developer with passion in grey-hat hacking

    MTA COMPUTERS LTD

    Lumumba Avenue, Plot 20,Piato Building

    P.O.BOX 9542.

    Kampala-Uganda.

    Mob: +256-753471299(0800-1700)

    Email: habiibah@mta.co.ug

    Website: https://www.mta.co.ug/

    Green Email signature Footers green signature green email green

    Disclaimer:
    This Message (Including any attachments) is intended only for the addressee(s) named and may contain confidential and or Proprietary information. MTA COMPUTERS LTD does not accept legal responsibility for the contents of this message. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution or copying of this communication is strictly prohibited. If you received this communication in error, please contact the sender by return email.



    by "Namiiro Habiibah" <habiibah@mta.co.ug> - 07:40 - 10 Oct 2023
  • Weblate resync
    Hi everyone,

    Due to more and more frequent reports of situations where the .po files are not in sync with the corresponding .pot file, I have launched a full re-sync of all .po files for branches 12 to 16.

    This will impact availability of translation.odoo-community.org for a little while, since our 10 years old machine is struggling to handle this big weblate instance.

    This will also cause quite a few CI builds, possibly delaying pull requests checks during a few hours.

    Thank you for your patience.

    Best regards,

    -sbi

    --
    Stéphane Bidoul
    Founder and CTO
    http://acsone.eu/

    by Stéphane Bidoul - 08:46 - 9 Oct 2023
  • Re: OCA CI: How to exclude a module/dependency
    Good catch, license fixed.

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.



    On Thu, Oct 5, 2023 at 8:07 AM Roussel, Denis <notifications@odoo-community.org> wrote:
    Ugh, am I wrong or you cannot depends on an OE module in an AGPL one, moreover on a public repository?

    😬

    Le jeu. 5 oct. 2023, 15:56, Maxime Chambreuil <notifications@odoo-community.org> a écrit :
    Thanks for your reply, David.

    Unfortunately it still looks for the dependency and fails:

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.



    On Thu, Oct 5, 2023 at 1:17 AM David Vidal <notifications@odoo-community.org> wrote:
    Here's a graphical example: https://github.com/OCA/sale-workflow/blob/13.0/.github/workflows/test.yml#L52-L58

    Basically, you have to pass the module list to ignore to that `exclude` parameter in the test builds.

    El jue, 5 oct 2023 a las 2:40, Maxime Chambreuil (<notifications@odoo-community.org>) escribió:
    Hello,

    We are using the OCA tooling on our public repo with modules depending on Odoo Enterprise.

    I am trying to exclude a module (l10n_mx_res_partner_csf_regime) but the enterprise dependency (l10n_m_edi_40) generates errors:

    Anyone who could point me in the right direction?

    Thanks!

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    _______________________________________________
    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


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    _______________________________________________
    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


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    by Maxime Chambreuil - 04:15 - 5 Oct 2023
  • Re: OCA CI: How to exclude a module/dependency
    Ugh, am I wrong or you cannot depends on an OE module in an AGPL one, moreover on a public repository?

    😬

    Le jeu. 5 oct. 2023, 15:56, Maxime Chambreuil <notifications@odoo-community.org> a écrit :
    Thanks for your reply, David.

    Unfortunately it still looks for the dependency and fails:

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.



    On Thu, Oct 5, 2023 at 1:17 AM David Vidal <notifications@odoo-community.org> wrote:
    Here's a graphical example: https://github.com/OCA/sale-workflow/blob/13.0/.github/workflows/test.yml#L52-L58

    Basically, you have to pass the module list to ignore to that `exclude` parameter in the test builds.

    El jue, 5 oct 2023 a las 2:40, Maxime Chambreuil (<notifications@odoo-community.org>) escribió:
    Hello,

    We are using the OCA tooling on our public repo with modules depending on Odoo Enterprise.

    I am trying to exclude a module (l10n_mx_res_partner_csf_regime) but the enterprise dependency (l10n_m_edi_40) generates errors:

    Anyone who could point me in the right direction?

    Thanks!

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    _______________________________________________
    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


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

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


    by Denis Roussel - 04:05 - 5 Oct 2023
  • Re: OCA CI: How to exclude a module/dependency
    Thanks for your reply, David.

    Unfortunately it still looks for the dependency and fails:

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.



    On Thu, Oct 5, 2023 at 1:17 AM David Vidal <notifications@odoo-community.org> wrote:
    Here's a graphical example: https://github.com/OCA/sale-workflow/blob/13.0/.github/workflows/test.yml#L52-L58

    Basically, you have to pass the module list to ignore to that `exclude` parameter in the test builds.

    El jue, 5 oct 2023 a las 2:40, Maxime Chambreuil (<notifications@odoo-community.org>) escribió:
    Hello,

    We are using the OCA tooling on our public repo with modules depending on Odoo Enterprise.

    I am trying to exclude a module (l10n_mx_res_partner_csf_regime) but the enterprise dependency (l10n_m_edi_40) generates errors:

    Anyone who could point me in the right direction?

    Thanks!

    MAXIME CHAMBREUIL
    DIRECTOR GENERAL LATAM
    Calendario
    T:
     +52 (800) 953-2012 #5200
    M: +52 (442) 114-9164 | WhatsApp
    C: MChambreuil@OpenSourceIntegrators.com

    Av. Antea 1032, Piso 4 Local 8, Colonia Jurica
    Santiago de Querétaro, Querétaro, 76100, México


    Analizar. Optimizar. Automatizar. Transicionar.


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    _______________________________________________
    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


    https://osicon23.com
    Join us at OSICON 2023, November 7-9 at the Toledo Zoo, Ohio!

    by Maxime Chambreuil - 03:55 - 5 Oct 2023
  • Re: tool: Odoo Modules Migration

    Hello,

    interesting mail Sebastian. Most of it sounds familiar because we aim for the same goals with [1] (pypi odoo-analyse). Generally speaking odoo-analyse goes deeper than a simple lines of code analyses because there are plenty of cases reading the manifest isn't enough (e.g. Odoo 16.0 website has a hidden dependency towards iap because of an import). In the last days we extended it also to allow to estimate the modules which would be installed in a system without a database which should influence the initial topic of this mailing list [see 3] (@Jan). It resolves auto_install and dependencies starting from an initial module list.

    The tool is the foundation of [2] one of our long term projects and this is the reason why the current code is under our github and not pushed towards the OCA in the past. There would be no problem for a joint operation and we could push it to the OCA if we can stay maintainer of it. We (initOS) are also on the OCA days and would welcome support/ideas/feedback.

    We also already added complexity measurements in preparation to estimate a module and system complexity and furthermore a migration complexity. In the future we plan to offer a service to estimate module complexities in conjunction with the files from odoo-analyse (via a trained model) or for experts to estimate the complexities of modules to train a model even further basically as part of [2].

    Btw it lacks the repository management because this one is better handled externally (e.g. git-aggregator is a great tool). There are various build environments for Odoo and we learned that without the repository management we can easier analyse in different environments. Often enough there is already a CI or a development environment and reading the odoo.cfg is easy enough.

    Best Regards,

    Florian

    [1] https://github.com/initOS/odoo-analyse

    [2] https://www.odoo-code-search.com

    [3] `cat modules.txt | odoo_analyse -p odoo --modules - --analyse analyse.json --estimate-state --state-filter installed`

    where odoo is the folder under which ALL modules can be found

    Am 04.10.23 um 17:57 schrieb Sebastien Alix:

    Hi,

    I am the author of 'oca-port' so I'll try to answer your questions.

    These two tools aim two different purposes, but have few common points:

    - oca-port: it doesn't really know what is Odoo, this tool only plays with commits of git repositories to help the user to:
        1) migrate the git history of the module ('git format-patch' dance) and run pre-commit before inviting the user to follow the OCA migration guide. It'll also request GitHub API to find a open PR to invite the user to review it instead of creating a new one.
        2) for modules already migrated, it'll list the commits and related PRs that could be ported to fill the gap (fixes or features)
        3) a parsable output is available so we at Camptocamp are using it to scan OCA repositories and generate reports to estimate the work to achieve for migration projects (which modules are 100% ported, missing some fixes/features, have to be migrated and which ones having a PR to review)

    - odoo-module-migrator: from what I know (I do not use this tool yet) its job is to help you to migrate Odoo code to the target version (e.g. if a XML tag has been deprecated, it'll warn or update to the new format).

    Both tools could be used together, my idea would be that 'oca-port' leverages 'odoo-module-migrator' to automatically update the code in a migration process. From now, the user can call 'oca-port' then call 'odoo-module-migrator' manually (not tested), no big deal.

    I think the common points right now is that 'odoo-module-migrator' also does the 'git format-patch' step, and run pre-commit.


    FYI I also started an Odoo project that scans all kind of git repositories (OCA, Odoo, private repos) to collect modules metadata and consolidate all these data in one place, and it leverages oca-port to collect the migration data presented above. This tool aims to help functional & technical people with these kind of features:

    - get number of lines of code (Python/JS/XML/CSS) by module/repo/branch/organization or any filter you want
    - for maintainers, get a quick overview of the state of their modules
    - what are the most used OCA addons among all your Odoo projects
    - in term of lines of code of a customer project, how are they distributed among  Odoo, OCA and specifics
    - generate reports to ease the estimation of migration projects for a given migration path (e.g. 14.0 -> 16.0)
    - know all Python dependencies used in OCA to avoid versions conflicts or to improve security updates

    A lot of use cases could be addressed I guess. I'll probably make a presentation of this at OCA Days (need to finish some stuff, do some cleanup, host the code in a OCA repository, and address some questions regarding the hosting).

    Kind regards,


    Le 04/10/2023 à 09:26, Rafael Blasco a écrit :

    This is a really nice topic to have a doc/talk about for new contributor. Maybe for OCA DAys

     

    • Which is the use of both tool?
    • Why 2 and not just a single 1? (they should be different with different authors)
    • A "How to" for newcontribs are really useful to increase OCA

     

    It is not trivial and easy for everyone. The moment we take things for granted we lose contributors along the way.

     

    https://github.com/OCA/oca-port

    https://github.com/OCA/odoo-module-migrator

     

    Thank you!

    Regards

    Rafael

     

     

    De: Alexandre Fayolle <notifications@odoo-community.org>

    Enviado el: martes, 26 de septiembre de 2023 10:03

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Hello, you should check oca-port too

     

    https://github.com/OCA/oca-port

     

    Best regards

    --

    Alexandre Fayolle

    Senior Software Engineer

    Tel : +33 4 58 48 20 30

     

     

     

    De: Fernando La Chica <notifications@odoo-community.org>

    Enviado el: lunes, 18 de septiembre de 2023 23:08

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Take a look at this tool

     

    https://github.com/OCA/odoo-module-migrator

     

    At first I thought it was the same tool. I understand that it is out of the scope of your tool but I think it can be useful for your final objective which is to migrate a large number of modules.

     

    El lun, 18 sept 2023, 9:37, Jan Suhr | Nitrokey <notifications@odoo-community.org> escribió:

    Hi!

    I wrote a simple tool which helps me keeping an overview of module

    upgrades during ongoing upgrade projects, especially for a large amount

    of modules. I hope someone finds it useful.

     

    https://github.com/Nitrokey/odoo-modules-migration

     

    Best regards

    Jan

    __________________________________

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

    -- 
    Sébastien Alix
    Business Solutions Odoo Developer
    
    Camptocamp France SA
    https://www.camptocamp.com/

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

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://www.initos.com
    
    Geschäftsführung:
    Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
    
    Sitz der Gesellschaft: Buchholz i.d.N.
    Amtsgericht: Tostedt, HRB 205226
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

    by Florian Kantelberg - 10:31 - 5 Oct 2023
  • Re: tool: Odoo Modules Migration

    Hello,

    interesting mail Sebastian. Most of it sounds familiar because we aim for the same goals with [1] (pypi odoo-analyse). Generally speaking odoo-analyse goes deeper than a simple lines of code analyses because there are plenty of cases reading the manifest isn't enough (e.g. Odoo 16.0 website has a hidden dependency towards iap because of an import). In the last days we extended it also to allow to estimate the modules which would be installed in a system without a database which should influence the initial topic of this mailing list [see 3] (@Jan). It resolves auto_install and dependencies starting from an initial module list.

    The tool is the foundation of [2] one of our long term projects and this is the reason why the current code is under our github and not pushed towards the OCA in the past. There would be no problem for a joint operation and we could push it to the OCA if we can stay maintainer of it. We (initOS) are also on the OCA days and would welcome support/ideas/feedback.

    We also already added complexity measurements in preparation to estimate a module and system complexity and furthermore a migration complexity. In the future we plan to offer a service to estimate module complexities in conjunction with the files from odoo-analyse (via a trained model) or for experts to estimate the complexities of modules to train a model even further basically as part of [2].

    Btw it lacks the repository management because this one is better handled externally (e.g. git-aggregator is a great tool). There are various build environments for Odoo and we learned that without the repository management we can easier analyse in different environments. Often enough there is already a CI or a development environment and reading the odoo.cfg is easy enough.

    Best Regards,

    Florian

    [1] https://github.com/initOS/odoo-analyse

    [2] https://www.odoo-code-search.com

    [3] `cat modules.txt | odoo_analyse -p odoo --modules - --analyse analyse.json --estimate-state --state-filter installed`

    where odoo is the folder under which ALL modules can be found

    Am 04.10.23 um 17:57 schrieb Sebastien Alix:

    Hi,

    I am the author of 'oca-port' so I'll try to answer your questions.

    These two tools aim two different purposes, but have few common points:

    - oca-port: it doesn't really know what is Odoo, this tool only plays with commits of git repositories to help the user to:
        1) migrate the git history of the module ('git format-patch' dance) and run pre-commit before inviting the user to follow the OCA migration guide. It'll also request GitHub API to find a open PR to invite the user to review it instead of creating a new one.
        2) for modules already migrated, it'll list the commits and related PRs that could be ported to fill the gap (fixes or features)
        3) a parsable output is available so we at Camptocamp are using it to scan OCA repositories and generate reports to estimate the work to achieve for migration projects (which modules are 100% ported, missing some fixes/features, have to be migrated and which ones having a PR to review)

    - odoo-module-migrator: from what I know (I do not use this tool yet) its job is to help you to migrate Odoo code to the target version (e.g. if a XML tag has been deprecated, it'll warn or update to the new format).

    Both tools could be used together, my idea would be that 'oca-port' leverages 'odoo-module-migrator' to automatically update the code in a migration process. From now, the user can call 'oca-port' then call 'odoo-module-migrator' manually (not tested), no big deal.

    I think the common points right now is that 'odoo-module-migrator' also does the 'git format-patch' step, and run pre-commit.


    FYI I also started an Odoo project that scans all kind of git repositories (OCA, Odoo, private repos) to collect modules metadata and consolidate all these data in one place, and it leverages oca-port to collect the migration data presented above. This tool aims to help functional & technical people with these kind of features:

    - get number of lines of code (Python/JS/XML/CSS) by module/repo/branch/organization or any filter you want
    - for maintainers, get a quick overview of the state of their modules
    - what are the most used OCA addons among all your Odoo projects
    - in term of lines of code of a customer project, how are they distributed among  Odoo, OCA and specifics
    - generate reports to ease the estimation of migration projects for a given migration path (e.g. 14.0 -> 16.0)
    - know all Python dependencies used in OCA to avoid versions conflicts or to improve security updates

    A lot of use cases could be addressed I guess. I'll probably make a presentation of this at OCA Days (need to finish some stuff, do some cleanup, host the code in a OCA repository, and address some questions regarding the hosting).

    Kind regards,


    Le 04/10/2023 à 09:26, Rafael Blasco a écrit :

    This is a really nice topic to have a doc/talk about for new contributor. Maybe for OCA DAys

     

    • Which is the use of both tool?
    • Why 2 and not just a single 1? (they should be different with different authors)
    • A "How to" for newcontribs are really useful to increase OCA

     

    It is not trivial and easy for everyone. The moment we take things for granted we lose contributors along the way.

     

    https://github.com/OCA/oca-port

    https://github.com/OCA/odoo-module-migrator

     

    Thank you!

    Regards

    Rafael

     

     

    De: Alexandre Fayolle <notifications@odoo-community.org>

    Enviado el: martes, 26 de septiembre de 2023 10:03

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Hello, you should check oca-port too

     

    https://github.com/OCA/oca-port

     

    Best regards

    --

    Alexandre Fayolle

    Senior Software Engineer

    Tel : +33 4 58 48 20 30

     

     

     

    De: Fernando La Chica <notifications@odoo-community.org>

    Enviado el: lunes, 18 de septiembre de 2023 23:08

    Para: Contributors <contributors@odoo-community.org>

    Asunto: Re: tool: Odoo Modules Migration

     

    Take a look at this tool

     

    https://github.com/OCA/odoo-module-migrator

     

    At first I thought it was the same tool. I understand that it is out of the scope of your tool but I think it can be useful for your final objective which is to migrate a large number of modules.

     

    El lun, 18 sept 2023, 9:37, Jan Suhr | Nitrokey <notifications@odoo-community.org> escribió:

    Hi!

    I wrote a simple tool which helps me keeping an overview of module

    upgrades during ongoing upgrade projects, especially for a large amount

    of modules. I hope someone finds it useful.

     

    https://github.com/Nitrokey/odoo-modules-migration

     

    Best regards

    Jan

    __________________________________

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

    -- 
    Sébastien Alix
    Business Solutions Odoo Developer
    
    Camptocamp France SA
    https://www.camptocamp.com/

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

    -- 
    Mit freundlichen Grüßen
    
    Florian Kantelberg
    Softwareentwickler
    
    initOS GmbH
    Innungsstraße 7
    21244 Buchholz i.d.N.
    
    Tel.: +49 (0) 4181 1350344
    Fax: +49 (0) 4181 1350310
    
    Email: florian.kantelberg@initos.com
    Internet: https://www.initos.com
    
    Geschäftsführung:
    Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke
    
    Sitz der Gesellschaft: Buchholz i.d.N.
    Amtsgericht: Tostedt, HRB 205226
    USt-IdNr: DE 815580155
    Steuer-Nr: 15/200/53247

    by Florian Kantelberg - 10:26 - 5 Oct 2023