Archives
- By thread 1472
-
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 57
- December 2025 33
- January 2026 63
- February 2026 48
Contributors
contributors@odoo-community.org
-
Display product template ref in product variant views?
Hello, I cannot find a module to show product template reference in common "product.product" (aka product variant) form-views. Something like this (screenshot)Do we have a module for this task?Thanks____________________Francesco Ballerini
by Francesco Ballerini - 10:36 - 28 Sep 2023-
Re: Display product template ref in product variant views?
Hello Francesco,I cannot see your screenshot but according to your request https://odoo-community.org/shop/product-template-navigation-5159 could be the module you are searching for.Best regards.On Thu, Sep 28, 2023 at 10:37 PM Francesco Ballerini <notifications@odoo-community.org> wrote:Hello, I cannot find a module to show product template reference in common "product.product" (aka product variant) form-views. Something like this (screenshot)Do we have a module for this task?Thanks____________________Francesco Ballerini_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Alex Comba
Tel (CH): +41 91 210 23 40
by Alex Comba. - 08:56 - 29 Sep 2023
-
-
RFQ for OCA Open Upgrade Programme Manager
Hello OCA Contributors,
I hope this finds you all well.Please find attached the RFQ for Open Upgrade Programme Manager.Warmest regards,Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 11:35 - 28 Sep 2023 -
Documents associated to Sale Order - V12
Hello AllNice to meet you. My name is Cedric DEBARD, i'm working as IT Administrator in the south of France. I'm using the Odoo Community Edition V12 as the main backbone application in my enterprise. I will be at OCA Days 2023 and i will be happy to meet members and discuss about version migration, module development, beer, life and philosophy.Waiting november, i'm currently working in my sale module, i would like to add the possibility to attach documents (working documents) to a sale order. Those documents does not have to be seen or sent at the final client. It should be very very very simple, for me it should be done via a drag and drop on the sale order form.Do you have any thoughts, code snippets, or existing modules ?
Regards, Enjoy life
by Cedric DEBARD - 09:41 - 28 Sep 2023-
Re: Documents associated to Sale Order - V12
> Do you have any thoughts, code snippets, or existing modules ? https://github.com/OCA/web/tree/12.0/web_drop_target -- Your partner for the hard Odoo problems https://hunki-enterprises.com
by Holger Brunn - 10:01 - 28 Sep 2023
-
-
Translate with odoo GUI in 2023 is fine ?
I have some modules where I need to translate some terms.Assuming that:- most of those modules are not public (or definitely not widely used)- for this task I don't really need a cloud platform to share project with other peopleI was wondering if I could just translate my terms from English to another language, then simply export .pot and .po file.Is there any tools that I should be aware of ?Thank you very much_______________Francesco Ballerini
by Francesco Ballerini - 09:39 - 27 Sep 2023-
Re: Translate with odoo GUI in 2023 is fine ?
El mié, 27-09-2023 a las 19:39 +0000, Francesco Ballerini escribió:Is there any tools that I should be aware of ?It seems like poedit is the one you need.
by Jairo Llopis - 09:51 - 28 Sep 2023
-
-
[Feature] Some products in e-commerce must not been paid at checkout
Dear allA customer of ours needs that some products should not been paid at e-commerce checkoutIt could be done by :- assigning payment methods to products/product categs, then one payment method would be 'dummy' (difficult to manage a cart with products linked to different payment methods)- some products/product categ must go to wishlist and cannot go to cart- ...Do you have any thoughts or existing modules ?Thanks in advanceBest regards--------------------------------
Cyril VINH-TUNG
INVITU
Computer & Network Engineering
BP 32 - 98713 Papeete - French Polynesia
Tél: +689 40 46 11 99
contact@invitu.com
www.invitu.com
by Cyril VINH-TUNG - 08:01 - 27 Sep 2023-
Re: [Feature] Some products in e-commerce must not been paid at checkout
We implemented a feature to restrict mixing product types in a cart, so that we could offer specific payment methods for each product type.Here is the module we used as the base (without business logic). We didn't propose it in OCA, but we may do so if anyone finds it useful.--Yoshi TashiroQuartile LimitedOn Thu, Sep 28, 2023 at 3:01 AM Cyril VINH-TUNG <notifications@odoo-community.org> wrote:Dear allA customer of ours needs that some products should not been paid at e-commerce checkoutIt could be done by :- assigning payment methods to products/product categs, then one payment method would be 'dummy' (difficult to manage a cart with products linked to different payment methods)- some products/product categ must go to wishlist and cannot go to cart- ...Do you have any thoughts or existing modules ?Thanks in advanceBest regards--------------------------------
Cyril VINH-TUNG
INVITU
Computer & Network Engineering
BP 32 - 98713 Papeete - French Polynesia
Tél: +689 40 46 11 99
contact@invitu.com
www.invitu.com_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Yoshi Tashiro - 03:03 - 28 Sep 2023
-
-
Operating unit details for Qweb reports
HiThe module https://github.com/OCA/operating-unit/tree/15.0/report_qweb_operating_unit says to use custom operating unit headers for any report in Odoo.When I go to report_qweb_operating_unit-15.0.1.0.0\report_qweb_operating_unit\views\report_qweb_operating_unit.xml , I the code talking about logo, phone, email and web ... etc of the Operating Unit to be used instead of the company detailsBut actually I can not see where to add these 'operating unit' custom details?If I go to Settings>operating units. to show any operating unit, I can not find any extra fields except Name, Code , Partner and CompanyIt seems there is something I miss.I'm asking because I want to use a custom header for the invoice pdf for every operating unitI hope you give me advice.
by "Ahmed@HAAT" <a.ragab@haat.com.sa> - 01:36 - 26 Sep 2023-
Re: Operating unit details for Qweb reports
Hi Admed, the information should be taken from the partner of the operating unit.If this does not answer the question, please create an issue in the github repository: https://github.com/OCA/operating-unit/issuesOn Tue, 26 Sept 2023 at 11:36, Ahmed@HAAT <notifications@odoo-community.org> wrote:HiThe module https://github.com/OCA/operating-unit/tree/15.0/report_qweb_operating_unit says to use custom operating unit headers for any report in Odoo.When I go to report_qweb_operating_unit-15.0.1.0.0\report_qweb_operating_unit\views\report_qweb_operating_unit.xml , I the code talking about logo, phone, email and web ... etc of the Operating Unit to be used instead of the company detailsBut actually I can not see where to add these 'operating unit' custom details?If I go to Settings>operating units. to show any operating unit, I can not find any extra fields except Name, Code , Partner and CompanyIt seems there is something I miss.I'm asking because I want to use a custom header for the invoice pdf for every operating unitI hope you give me advice._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by "Aarón Henríquez Quintana" <aaron.henriquez@forgeflow.com> - 02:11 - 26 Sep 2023
-
-
Development environement
Hi,My name is Sylvain.I would like to know about creating an Odoo local environment, because I want to be more efficient in the development of the modules, than on Odoo.sh.
I can already launch my server with Odoo, Odoo enterprise and my custom_addons.
However I have other problems like updating the code live, I have to constantly restart the server. I saw that there were default parameters for development like: --dev=reload using the "watchdog" lib, except that after 2 3 refresh the server shuts down.
I have already used Odoo.sh and its editor, and Python recompiles well with each change, so this is doable
Same for Owl components, I find it crazy that in 2023 there is no auto refresh, so I am looking for the most optimized solution for Odoo module development.
Do you have an installation guide for local development?
The development by Docker is perhaps simpler?
Some additional information:
I am on windows
VScode, and I'm using vscode launch.js configs for Odoo server
Thanks in advance
by Sylvain - 08:35 - 23 Sep 2023-
Re: Development environement
HelloIt looks like you posted the same one on august 16th and you had a lot of replies alreadyBut maybe this is a message that has been sent twice by odoo-community.orgWe already had a weird thing like that a few days agoBest regards--------------------------------
Cyril VINH-TUNG
INVITU
Computer & Network Engineering
BP 32 - 98713 Papeete - French Polynesia
Tél: +689 40 46 11 99
contact@invitu.com
www.invitu.comLe sam. 23 sept. 2023, 08:36, Sylvain Caron <notifications@odoo-community.org> a écrit :Hi,My name is Sylvain.I would like to know about creating an Odoo local environment, because I want to be more efficient in the development of the modules, than on Odoo.sh.
I can already launch my server with Odoo, Odoo enterprise and my custom_addons.
However I have other problems like updating the code live, I have to constantly restart the server. I saw that there were default parameters for development like: --dev=reload using the "watchdog" lib, except that after 2 3 refresh the server shuts down.
I have already used Odoo.sh and its editor, and Python recompiles well with each change, so this is doable
Same for Owl components, I find it crazy that in 2023 there is no auto refresh, so I am looking for the most optimized solution for Odoo module development.
Do you have an installation guide for local development?
The development by Docker is perhaps simpler?
Some additional information:
I am on windows
VScode, and I'm using vscode launch.js configs for Odoo server
Thanks in advance_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Cyril VINH-TUNG - 12:05 - 24 Sep 2023 -
Re: Development environement
Hola Sylvain..Before I was looking for the same topic, what I did was install the windows installer that Odoo has on its official website; I installed it on my windows 10. Configure and connect the vs Code to the folder; To develop the modules there was no problem, the details were to see the changes, what I did was try to restart the service in Windows; and I used the Odoo Google Chrome extension to update the module that made changes, and it worked perfectly; To debug code, what I did was filter the Odoo log and review it.Maybe there is other easy way. But it worked for meAtte:DanielEl sáb, 23 sept 2023 a las 13:37, Sylvain Caron (<notifications@odoo-community.org>) escribió:Hi,My name is Sylvain.I would like to know about creating an Odoo local environment, because I want to be more efficient in the development of the modules, than on Odoo.sh.
I can already launch my server with Odoo, Odoo enterprise and my custom_addons.
However I have other problems like updating the code live, I have to constantly restart the server. I saw that there were default parameters for development like: --dev=reload using the "watchdog" lib, except that after 2 3 refresh the server shuts down.
I have already used Odoo.sh and its editor, and Python recompiles well with each change, so this is doable
Same for Owl components, I find it crazy that in 2023 there is no auto refresh, so I am looking for the most optimized solution for Odoo module development.
Do you have an installation guide for local development?
The development by Docker is perhaps simpler?
Some additional information:
I am on windows
VScode, and I'm using vscode launch.js configs for Odoo server
Thanks in advance_______________________________________________
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 CARRION - 11:40 - 23 Sep 2023
-
-
E-Mail Tracking V16
Hello,
are there any plans to upgrade this app: https://apps.odoo.com/apps/modules/15.0/mail_tracking/ to V16?--
Herzliche Grüße / Kind regards
Tim Vollmer
Software Consultant
by Tim Vollmer - 10:36 - 21 Sep 2023-
Re: E-Mail Tracking V16
On Thu, Sep 21, 2023 at 10:41 AM Tim Vollmer <notifications@odoo-community.org> wrote:Hello,
are there any plans to upgrade this app: https://apps.odoo.com/apps/modules/15.0/mail_tracking/ to V16?--
Herzliche Grüße / Kind regards
Tim Vollmer
Software Consultant_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Alex Comba
Tel (CH): +41 91 210 23 40
by Alex Comba. - 10:50 - 21 Sep 2023
-
-
multi company issue
Deari have that issue for multi companyi solve this issue with add user group under record rulewhen i add user group the user can issues the invoice but user now see all Customers for both companies--Best RegardsSamir Mahmoud00201062648111
by Samir Mahmoud Hassan - 11:06 - 20 Sep 2023-
Re: multi company issue
I have 2 company (Multi Company) set in my Odoo database, Second company was set up after few months of first company.
Now while making invoice in second company I was getting "Access Error" (Full screen shot attached) to fix this I have added user group in res.partner Company in Contact Model, by doing this I solved Access Error I am no longer getting error but It created another issues my Contacts from first Company visible in my Second Company. My Contacts already have Company assign. Now I Don't to share my contacts in both company and Avoid this error as well.
any help would be much appreciated.
On Fri, Sep 22, 2023 at 5:26 PM hugues de keyzer <notifications@odoo-community.org> wrote:hello samir,
as explained here, the standard odoo multi-company behavior is that a record is either linked to a particular company (its
company_idfield is not null), or is shared across all companies (itscompany_idfield is null). partners are usually shared across all companies, while accounting data is not.if you want to have a more fine-grained control over this, like the ability to link records to several companies but not all, there are modules in the multi-company oca repository that allows to do this, like the
partner_multi_companymodule.
Le 2023-09-20 à 13:40, Samir Hassan a écrit :
On Wed, Sep 20, 2023 at 12:04 PM Samir Hassan <samir2010ssf@gmail.com> wrote:
Deari have that issue for multi company
i solve this issue with add user group under record rule
when i add user group the user can issues the invoice but user now see all Customers for both companies
--
Best RegardsSamir Mahmoud00201062648111
--
Best RegardsSamir Mahmoud00201062648111
_______________________________________________
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
--Best RegardsSamir Mahmoud00201062648111
by Samir Mahmoud Hassan - 08:16 - 23 Sep 2023 -
Re: multi company issue
hello samir,
as explained here, the standard odoo multi-company behavior is that a record is either linked to a particular company (its
company_idfield is not null), or is shared across all companies (itscompany_idfield is null). partners are usually shared across all companies, while accounting data is not.if you want to have a more fine-grained control over this, like the ability to link records to several companies but not all, there are modules in the multi-company oca repository that allows to do this, like the
partner_multi_companymodule.
Le 2023-09-20 à 13:40, Samir Hassan a écrit :
On Wed, Sep 20, 2023 at 12:04 PM Samir Hassan <samir2010ssf@gmail.com> wrote:
Deari have that issue for multi company
i solve this issue with add user group under record rule
when i add user group the user can issues the invoice but user now see all Customers for both companies
--
Best RegardsSamir Mahmoud00201062648111
--
Best RegardsSamir Mahmoud00201062648111
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by hugues - 04:25 - 22 Sep 2023 -
Re: multi company issue
On Wed, Sep 20, 2023 at 12:04 PM Samir Hassan <samir2010ssf@gmail.com> wrote:Deari have that issue for multi companyi solve this issue with add user group under record rulewhen i add user group the user can issues the invoice but user now see all Customers for both companies--Best RegardsSamir Mahmoud00201062648111--Best RegardsSamir Mahmoud00201062648111
by Samir Mahmoud Hassan - 01:40 - 20 Sep 2023 -
Re: multi company issue
They are on the archive: https://odoo-community.org/groups/contributors-15/contributors-878617But sure, it would be nice to fix this.FrancescoIl giorno mer 20 set 2023 alle ore 12:42 Fernando La Chica <notifications@odoo-community.org> ha scritto:Images are not visibleEl mié, 20 sept 2023, 11:07, Samir Hassan <notifications@odoo-community.org> escribió:Deari have that issue for multi companyi solve this issue with add user group under record rulewhen i add user group the user can issues the invoice but user now see all Customers for both companies--Best RegardsSamir Mahmoud00201062648111_______________________________________________
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 Francesco Foresti - 12:45 - 20 Sep 2023 -
Re: multi company issue
Images are not visibleEl mié, 20 sept 2023, 11:07, Samir Hassan <notifications@odoo-community.org> escribió:Deari have that issue for multi companyi solve this issue with add user group under record rulewhen i add user group the user can issues the invoice but user now see all Customers for both companies--Best RegardsSamir Mahmoud00201062648111_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Fernando La Chica - 12:41 - 20 Sep 2023
-
-
Branches for v17.0
Hello,I have a question, We are working for a customer who wants to be in v17 in October when Odoo 17 is done.Is it possible to create the OCA branches for v17 at this moment? Or only when the Odoo branch for v17 is ready?Regards
by Luis Ernesto Torres - 06:55 - 19 Sep 2023-
Re: Branches for v17.0
On 19/09/23 18:56, Luis Ernesto Torres [Vauxoo] wrote: > I have a question, We are working for a customer who wants to be in v17 > in October when Odoo 17 is done. Hi Luis, Don't forget that Odoo 17.0 is going to be released only in November, not October (the Odoo Experiences are a bit later this year). Best, Martin
by Martin Trigaux - 01:30 - 20 Sep 2023 -
Re: Branches for v17.0
> Is it possible to create the OCA branches for v17 at this moment? Or only > when the Odoo branch for v17 is ready? for what I assume you want to do (just now already develop stuff for v17), you don't need OCA v17 branches anyways. Just start doing your things in an empty branch using the usual migration steps (one branch per module), and you'll be able to easily cherry-pick this to the upcoming OCA branches and then PR them as your migration of whatever module(s) it's about. -- Your partner for the hard Odoo problems https://hunki-enterprises.com
by Holger Brunn - 10:10 - 19 Sep 2023 -
Re: Branches for v17.0
> Is it possible to create the OCA branches for v17 at this moment?No, that is not possible. CI wouldn't work without the 17.0 branches from Odoo.For reference here is the checklist we had to prepare our tooling for v16: https://github.com/OCA/maintainer-tools/issues/537Best regards,-StéphaneOn Tue, Sep 19, 2023 at 6:56 PM Luis Ernesto Torres [Vauxoo] <notifications@odoo-community.org> wrote:Hello,I have a question, We are working for a customer who wants to be in v17 in October when Odoo 17 is done.Is it possible to create the OCA branches for v17 at this moment? Or only when the Odoo branch for v17 is ready?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 - 09:59 - 19 Sep 2023
-
-
multi company issue
Deari have that issue for multi company--i solve this issue with add user group under record rulewhen i add user group the user can issues the invoice but user now see all Customers for both companiesBest RegardsSamir Mahmoud00201062648111
by Samir Mahmoud Hassan - 10:11 - 19 Sep 2023 -
OCA Functional Group - Project Modules Documentation
After the last OCA Days in 2022, a group of functional people from different countries and companies decided to work together to improve functional contributions in OCA.
Documentation of OCA modules has been identified as one of the main areas where functionals’ expertise can be useful.
Our primary goals with this project are:
to make it easier for everyone to understand what is the purpose of a module and how to use it ;
to provide guidelines on how to write good and complete documentation ;
to improve access to editing and contribution of module’s documentation for functional people (eg: adding screenshots).
What are the changes?
Implementing Markdown in place of RST for Read Me
A great module documentation has screenshots so the reader can understand better how to use the module. The problem is that it is difficult for a functional person to add screenshots into an RST file. You must upload the image in a folder (and you have to know which one ;) ), then you need to know how to put the link to the image, and if you make a mistake, the image doesn't show…
Markdown files are supported by GitHub and this format allows you to insert a screenshot easily by Drag & Drop.
Markdown provides a simple and unified layout (as RST do) so we don’t lose this advantage.
GitHub provides a Markdown editor tool so you don’t even have to learn the syntax (but, we tell you, it is very easy to learn ;) )
Providing guidelines for documentation
We are still working on the Guidelines but we will have a first version ready for the OCA days!
Enhancing Readme template
Adding some information into the description of the fragments so anybody (functional or developer) can understand the usage of each fragment.
Adding a new CONTEXT fragment. This new fragment can then be used to explain the why (context, use cases) of the module.
What are the impacts of those changes?
The Read Me’s template files have been converted to Markdown.
We will be converting, in the next weeks, all Read Me files to Markdown for all repositories in branch “16.0”.
Read Me in RST will still be accepted but we strongly recommend to use Markdown for all the reasons enumerated previously.
For the branch “17.0”, only Markdown files will be accepted.
How to proceed in case of migration of a module?
You can convert existing readme fragments from RST to Markdown for a whole repo using a command such as:
$ oca-gen-addon-readme --convert-fragments-to-markdown --org-name OCA --repo-name rest-framework --branch 16.0 --addons-dir . --gen-html
You can also convert an individual addon with --addon-dir (instead of --addons-dir) with a command like this:
$ oca-gen-addon-readme --convert-fragments-to-markdown --org-name OCA --repo-name purchase-workflow --branch 16.0 --addon-dir purchase_request --gen-html
How to proceed in case of pushing a new module into OCA?
Using the templates (which are now in Markdown)
And we recommend you follow the Guidelines!
We will be communicating about these Guidelines when they are ready!
We hope you enjoy these improvements!!!
The OCA Functional Group, Documentation Team
Julie LeBrun, Numigi Solutions
Francesco Foresti, ooops
Lara Freeke, Therp
Benedito Monteiro
by Julie LeBrun - 04:12 - 18 Sep 2023-
Re: OCA Functional Group - Project Modules Documentation
El mar, 19-09-2023 a las 10:48 +0000, Pedro M. Baeza escribió:As we talked previously, do you already know GitHub's image retention policy for being sure they don't expire?I think nobody has the answer, so I asked.FWIW functionals could upload images to the repo manually too.
by Jairo Llopis - 08:56 - 20 Sep 2023 -
Re: OCA Functional Group - Project Modules Documentation
Thank you for all the work done.As we talked previously, do you already know GitHub's image retention policy for being sure they don't expire?Regards.
by Pedro M. Baeza - 12:46 - 19 Sep 2023 -
Re: OCA Functional Group - Project Modules Documentation
Hello Yann,On Mon, Sep 18, 2023 at 4:43 PM Yann Papouin <notifications@odoo-community.org> wrote:Does the oca-gen-addon-readme tool will fetch these files, copying them into the static folder and re-edit the MD to make relative links ?That is not planned at this point. It could be interesting, to ensure that all source images are in the repository.But note that currently, the readme generator currently replaces relative image links by github urls, so the README renders correctly in Odoo and on PyPI.Best regards,-Stéphane
by Stéphane Bidoul - 12:37 - 19 Sep 2023 -
Re: OCA Functional Group - Project Modules Documentation
Hello,Ok, so there will be a syntax change but it looks like that the new thing is the need/possibility to use GitHub to edit these files ?Because Markdown is not magic and image pasting or drag&drop just upload it to Github.Does the oca-gen-addon-readme tool will fetch these files, copying them into the static folder and re-edit the MD to make relative links ?Yann.
by Yann Papouin - 04:41 - 18 Sep 2023
-
tool: Odoo Modules Migration
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
by Jan Suhr - 09:35 - 18 Sep 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 -
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 -
Re: tool: Odoo Modules Migration
On Wed, Oct 4, 2023 at 5:57 PM Sebastien Alix <notifications@odoo-community.org> wrote: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).
That's so cool! I can't wait to see it!Thanks a lot, Sebastien!
--Alex Comba
Tel (CH): +41 91 210 23 40
by Alex Comba. - 09:22 - 5 Oct 2023 -
Re: tool: Odoo Modules Migration
Hi Sebastien,> I also started an Odoo project that scans all kind of git repositories (OCA, Odoo, private repos)I also did :) maybe we could share some efforts as it is hard to maintain ... https://oca-cm-15.komit.link/
You can send me an email if you want jc@komit-consulting.com and I could show you.Regards,Jean-CharlesOn Wed, Oct 4, 2023 at 10:57 PM Sebastien Alix <notifications@odoo-community.org> wrote: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
by Jean-Charles Drubay - 04:41 - 5 Oct 2023
-
-
Auto unsubscribe
Hi,Is there something done on OCA side that has triggered an unsubscribe action to this mailing list as I've just received a 'Confirm unsubscription to Contributors' email?Thanks to the Board for the answer (as some colleagues received it too).--
by Denis Roussel. - 03:17 - 15 Sep 2023-
Re: Auto unsubscribe
Probably some odoo flaw. Just ignore it.On Sat, 16 Sept 2023, 1:53 am Radovan Skolnik, <notifications@odoo-community.org> wrote:+1 On piatok 15. septembra 2023 15:17:16 CEST Roussel, Denis wrote: > Hi, > > > Is there something done on OCA side that has triggered an unsubscribe action > to this mailing list as I've just received a 'Confirm unsubscription to > Contributors' email? > > > Thanks to the Board for the answer (as some colleagues received it too). > > > > -- > > > Denis Roussel > Software Engineer > T : +32 2 888 31 49 > M : +32 472 22 00 57 > > > > > Val Benoit, Quai Banning 6 | B-4000 Liège | Belgium > > Atrium Building, Drève Richelle 167 | B-1410 Waterloo | Belgium > Zone industrielle 22 | L-8287 Kehlen | Luxembourg > > > _______________________________________________ > 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 Graeme Gellatly - 06:51 - 16 Sep 2023 -
Re: Auto unsubscribe
+1 On piatok 15. septembra 2023 15:17:16 CEST Roussel, Denis wrote: > Hi, > > > Is there something done on OCA side that has triggered an unsubscribe action > to this mailing list as I've just received a 'Confirm unsubscription to > Contributors' email? > > > Thanks to the Board for the answer (as some colleagues received it too). > > > > -- > > > Denis Roussel > Software Engineer > T : +32 2 888 31 49 > M : +32 472 22 00 57 > > > > > Val Benoit, Quai Banning 6 | B-4000 Liège | Belgium > > Atrium Building, Drève Richelle 167 | B-1410 Waterloo | Belgium > Zone industrielle 22 | L-8287 Kehlen | Luxembourg > > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Radovan Skolnik - 03:51 - 15 Sep 2023 -
Re: Auto unsubscribe
Hi Roussel,
Yes I confirm, I received it as well.
Thanks,Le ven. 15 sept. 2023 à 15:17, Roussel, Denis <notifications@odoo-community.org> a écrit :Hi,Is there something done on OCA side that has triggered an unsubscribe action to this mailing list as I've just received a 'Confirm unsubscription to Contributors' email?Thanks to the Board for the answer (as some colleagues received it too).--_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-----[ Youness @ MAAFI ]
by Youness Maafi - 03:26 - 15 Sep 2023 -
Re: Auto unsubscribe
+1
Hi,
Is there something done on OCA side that has triggered an unsubscribe action to this mailing list as I've just received a 'Confirm unsubscription to Contributors' email?
Thanks to the Board for the answer (as some colleagues received it too).
--
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Très cordialement Maurice MORETTI _________________________________________________________________________ TeMPO CONSULTING 20, avenue de la Paix 67000 Strasbourg FRANCE Web : http://www.tempo-consulting.fr email : mm@tempo-consulting.fr Tel : 33 (0)3 88 56 82 10 Mobile : 33 (0)6 08 61 85 02
by Maurice MORETTI - 03:26 - 15 Sep 2023
-
-
Confirm unsubscription to Contributors
Your Channel
Contributors
Hello,
You have requested to be unsubscribed to the mailing list Contributors.
To confirm, please visit the following link: https://odoo-community.org/groups/unsubscribe/15/25929/62a4e531b032a4a5754ff590ea1b3b1e.
If this was a mistake or you did not requested this action, please ignore this message.
Odoo Community Association (OCA) info@odoo-community.org | http://odoo-community.org Powered by Odoo _______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by info@odoo-community.org - 03:06 - 15 Sep 2023-
Re: Confirm unsubscription to Contributors
Hi, it is issue?, i did not ask unsubscribeEl vie, 15 sept 2023 a las 8:27, BOUDMIR IBRAHIM (<notifications@odoo-community.org>) escribió:Hi,As far as i know, i did not ask to unsubscribe from the mailing list of OCA.Regards.ᐧ
On Fri, Sep 15, 2023 at 3:07 PM <info@odoo-community.org> wrote:Your Channel
Contributors
Hello,
You have requested to be unsubscribed to the mailing list Contributors.
To confirm, please visit the following link: https://odoo-community.org/groups/unsubscribe/15/25929/62a4e531b032a4a5754ff590ea1b3b1e.
If this was a mistake or you did not requested this action, please ignore this message.
Odoo Community Association (OCA) info@odoo-community.org | http://odoo-community.org Powered by Odoo _______________________________________________
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
--Saludos Cordiales.
by Carlos Lopez - 10:21 - 15 Sep 2023 -
Re: Confirm unsubscription to Contributors
Hi,As far as i know, i did not ask to unsubscribe from the mailing list of OCA.Regards.ᐧ
On Fri, Sep 15, 2023 at 3:07 PM <info@odoo-community.org> wrote:Your Channel
Contributors
Hello,
You have requested to be unsubscribed to the mailing list Contributors.
To confirm, please visit the following link: https://odoo-community.org/groups/unsubscribe/15/25929/62a4e531b032a4a5754ff590ea1b3b1e.
If this was a mistake or you did not requested this action, please ignore this message.
Odoo Community Association (OCA) info@odoo-community.org | http://odoo-community.org Powered by Odoo _______________________________________________
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 bdmibra - 03:26 - 15 Sep 2023
-
-
OCA Days Talk Proposals - submissions close Friday 15th September
Hi everyone,As you know OCA Days 2023 is coming up on the 6 + 7 November.
We are very much looking forward to seeing those who can make it in Liège.You can still register here.I wanted to remind people that the last day for talk submissions is today - Friday 15th September. Share your ideas here.We will accept a broad range of proposals:
- presentations on different modules/ module updates
- community project
- trainings/tutorials
- case studies
- implementations
- great discussion topics
When submitting a talk please put at the end of the talk title if it is a functional or technical talk.
New for 2023 - Functional track.
This year, we'll also host a functional track as well as our standard track. We would like to promote some topics and encourage experts to propose their talks to help functional participants feel more integrated into the OCA.
In the functional room we would like to give the opportunity for good discussions too - one person proposes a topic, gives his understanding and then it's more of a practice and ideas exchange moment.
When submitting your functional talk please as mentioned above, let us know it is functional and also whether it is to be a presentation, training or discussion.
Here are some examples of topics that will certainly interest functional profiles:
How to contribute to the OCA as a functional?
How to navigate Github as a functional?
How to use Weblate and why it is useful?
How to use the runboat and test every OCA module easily?
Presentation of must-have OCA modules from a functional perspective
Any other topic that you think could help functional get more engaged into the OCA community
If you feel up to it, whether you have a technical or functional profile, please help us make the OCA Days interesting for functional roles! We'll have 30min, 45 min and 60min slots available.
We can't wait to see what our community has to share for 2023!
Have a great weekend everyone.Rebecca--Rebecca GellatlyGeneral SecretaryOdoo Community Association
by Rebecca Gellatly - 06:40 - 15 Sep 2023 -
tool: Odoo Modules Migration
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
by Jan Suhr - 06:05 - 13 Sep 2023 -
A (hope not stupid) question about wire transfer payment transactions
Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
by Radovan Skolnik - 09:46 - 13 Sep 2023-
Re: A (hope not stupid) question about wire transfer payment transactions
Holy moly!How could I miss this? I was specifically searching for that _set_done() call and missed this obvious one.Still I'd expect some kind of integration between bank statements and this. Maybe an idea to write one.Thanks a lot!Best regards,RadovanOn Sep 13, 2023 19:37, Enric Tobella Alomar <notifications@odoo-community.org> wrote:You are probably looking for thisKind regards,El mié, 13 sept 2023 a las 19:22, Radovan Skolnik (<notifications@odoo-community.org>) escribió:I'm using mostly Community but have searched through Enterprise sources as well. AFAIK there is no difference in this area between the two. Checked versions 16 and 15 but the older ones are the same AFAICT.Best regards,RadovanOn Sep 13, 2023 19:06, Youness Maafi <notifications@odoo-community.org> wrote:Hi Skolnik,
Your question is not a stupid one at all, all questions are smart.
I for example, or maybe anyone whose mind is not fresh about the subject, would need to know first the Odoo version you are using, and in which edition ( EE or CE ) ? Can you share this with me ?
I hope I can help afterwards, ( it will be much easier )
Thanks,
Le mer. 13 sept. 2023 à 17:27, David Vidal <notifications@odoo-community.org> a écrit :As far as I know it serves just informative purposes (i.e. portal views of the documents show that they're pending unless confirmed/payed. But yes, I'd also expect it to have at least a way to confirm those transactions manuallyEl mié, 13 sept 2023 a las 9:47, Radovan Skolnik (<notifications@odoo-community.org>) escribió:Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
_______________________________________________
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
-----[ Youness @ MAAFI ]_______________________________________________
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
--Enric Tobella AlomarCEO & Founder_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Radovan Skolnik - 07:55 - 13 Sep 2023 -
Re: A (hope not stupid) question about wire transfer payment transactions
You are probably looking for thisKind regards,El mié, 13 sept 2023 a las 19:22, Radovan Skolnik (<notifications@odoo-community.org>) escribió:I'm using mostly Community but have searched through Enterprise sources as well. AFAIK there is no difference in this area between the two. Checked versions 16 and 15 but the older ones are the same AFAICT.Best regards,RadovanOn Sep 13, 2023 19:06, Youness Maafi <notifications@odoo-community.org> wrote:Hi Skolnik,
Your question is not a stupid one at all, all questions are smart.
I for example, or maybe anyone whose mind is not fresh about the subject, would need to know first the Odoo version you are using, and in which edition ( EE or CE ) ? Can you share this with me ?
I hope I can help afterwards, ( it will be much easier )
Thanks,
Le mer. 13 sept. 2023 à 17:27, David Vidal <notifications@odoo-community.org> a écrit :As far as I know it serves just informative purposes (i.e. portal views of the documents show that they're pending unless confirmed/payed. But yes, I'd also expect it to have at least a way to confirm those transactions manuallyEl mié, 13 sept 2023 a las 9:47, Radovan Skolnik (<notifications@odoo-community.org>) escribió:Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
_______________________________________________
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
-----[ Youness @ MAAFI ]_______________________________________________
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
--Enric Tobella AlomarCEO & Founder
by Enric Tobella Alomar - 07:36 - 13 Sep 2023 -
Re: A (hope not stupid) question about wire transfer payment transactions
I'm using mostly Community but have searched through Enterprise sources as well. AFAIK there is no difference in this area between the two. Checked versions 16 and 15 but the older ones are the same AFAICT.Best regards,RadovanOn Sep 13, 2023 19:06, Youness Maafi <notifications@odoo-community.org> wrote:Hi Skolnik,
Your question is not a stupid one at all, all questions are smart.
I for example, or maybe anyone whose mind is not fresh about the subject, would need to know first the Odoo version you are using, and in which edition ( EE or CE ) ? Can you share this with me ?
I hope I can help afterwards, ( it will be much easier )
Thanks,
Le mer. 13 sept. 2023 à 17:27, David Vidal <notifications@odoo-community.org> a écrit :As far as I know it serves just informative purposes (i.e. portal views of the documents show that they're pending unless confirmed/payed. But yes, I'd also expect it to have at least a way to confirm those transactions manuallyEl mié, 13 sept 2023 a las 9:47, Radovan Skolnik (<notifications@odoo-community.org>) escribió:Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
_______________________________________________
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
-----[ Youness @ MAAFI ]_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Radovan Skolnik - 07:21 - 13 Sep 2023 -
Re: A (hope not stupid) question about wire transfer payment transactions
Hi Skolnik,
Your question is not a stupid one at all, all questions are smart.
I for example, or maybe anyone whose mind is not fresh about the subject, would need to know first the Odoo version you are using, and in which edition ( EE or CE ) ? Can you share this with me ?
I hope I can help afterwards, ( it will be much easier )
Thanks,
Le mer. 13 sept. 2023 à 17:27, David Vidal <notifications@odoo-community.org> a écrit :As far as I know it serves just informative purposes (i.e. portal views of the documents show that they're pending unless confirmed/payed. But yes, I'd also expect it to have at least a way to confirm those transactions manuallyEl mié, 13 sept 2023 a las 9:47, Radovan Skolnik (<notifications@odoo-community.org>) escribió:Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
_______________________________________________
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
-----[ Youness @ MAAFI ]
by Youness Maafi - 07:06 - 13 Sep 2023 -
Re: A (hope not stupid) question about wire transfer payment transactions
As far as I know it serves just informative purposes (i.e. portal views of the documents show that they're pending unless confirmed/payed. But yes, I'd also expect it to have at least a way to confirm those transactions manuallyEl mié, 13 sept 2023 a las 9:47, Radovan Skolnik (<notifications@odoo-community.org>) escribió:Hello, hope this will not be a stupid question - I searched through all the Odoo sources, all OCA modules but couldn't find any answer. The scenario is really simple: Wire Transfer (payment_custom in 16.0, payment_transfer in previous versions) is selected as payment provider in e-shop (website_sale). Payment transcation (payment.transaction) object is created in Pending state. The question is: is there anything anywhere that would change its state to Confirmed (done)? I would assume imported bank statements could but I cannot see that anywhere (was mainly looking for _set_done() method calls but tried other means of search as well). Would be greateful if somebody shed some light on this for me. Thank you very much. Best regards Radovan Skolnik
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by David Vidal - 05:26 - 13 Sep 2023
-
-
100 % coverage not enough?
Hi all, I submitted a PR with 100% code coverage to the account-invoicing repo. However the branch is red because 100% is apparently not enough. Supposedly the PR would decrease the overall coverage percentage. How?? See here: https://github.com/OCA/account-invoicing/pull/1544 I think any PR that gets code coverage > 90% (and that does not decrease coverage of an existing module), should get a branch green, but certainly 100%. Kind regards, Ronald
by "Ronald Portier" <rportier@therp.nl> - 08:56 - 8 Sep 2023-
Re: 100 % coverage not enough?
El lun, 11-09-2023 a las 08:41 +0000, Ronald Portier escribió:The decrease must be an artifact of comparing a branch based on an older version of the main branch, that had less coverage overall, with the current version of the main branchMaybe coverage can be compared to the latest parent commit of the oldest PR commit? That way, we could be sure if it's really increasing.
by Jairo Llopis - 08:40 - 13 Sep 2023 -
Re: 100 % coverage not enough?
Hi,
Rebasing the branch, as suggegested by Jairo solved the problem. So let us keep that in mind with future occurences of this issue.
Denis, I understand why you do not want to remove the check, but I do not see how a PR that only concerns one module, could influence other modules. The decrease must be an artifact of comparing a branch based on an older version of the main branch, that had less coverage overall, with the current version of the main branch. However merging such a PR will not undo the changes that have occurred in the main branch since creating the PR/feature branch. So the proper measure on whether a PR increases or decreases overall coverage would be to compare the coverage percentage in only the patch (the changed code) with the overall coverage of the project (the main branch).
Kind regards, Ronald
Op 11-09-2023 om 10:22 schreef Roussel, Denis:
The answer is in the details link.
@jairo I don't agree about removing that check.
The 'patch' coverage report concerns exclusively the code you introduce with your PR.The 'project' coverage report concerns the already existing code outside your PR. So, a decrease there means that your PR influences other modules (not executing a super in an inherited method, ...)
Even if coverage is not mandatory in OCA, it gives indicators on technical tests quality.
My two cents
On Mon, Sep 11, 2023 at 10:11 AM jairo <notifications@odoo-community.org> wrote:
El vie, 08-09-2023 a las 18:57 +0000, Ronald Portier escribió:Supposedly the PR would decrease the overall coverage percentage. How??
The 1st thing you need to know is that hose checks are not required.
Now, this is how your PR looks:
That ✅ is telling the reviewer that the PR has a 100% of coverage. That's the important part.
The ❌ however is the weirdo. Sometimes it happens, so I systematically ignore that check. IMHO it could be removed. My guess is that the base branch evolved and got more coverage, and that if you rebased it would always increase. But maybe it's just a bug somewhere._______________________________________________
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 "Ronald Portier" <rportier@therp.nl> - 10:40 - 11 Sep 2023 -
Re: 100 % coverage not enough?
The answer is in the details link.@jairo I don't agree about removing that check.The 'patch' coverage report concerns exclusively the code you introduce with your PR.The 'project' coverage report concerns the already existing code outside your PR. So, a decrease there means that your PR influences other modules (not executing a super in an inherited method, ...)Even if coverage is not mandatory in OCA, it gives indicators on technical tests quality.My two centsOn Mon, Sep 11, 2023 at 10:11 AM jairo <notifications@odoo-community.org> wrote:El vie, 08-09-2023 a las 18:57 +0000, Ronald Portier escribió:Supposedly the PR would decrease the overall coverage percentage. How??
The 1st thing you need to know is that hose checks are not required.Now, this is how your PR looks:That ✅ is telling the reviewer that the PR has a 100% of coverage. That's the important part.The ❌ however is the weirdo. Sometimes it happens, so I systematically ignore that check. IMHO it could be removed. My guess is that the base branch evolved and got more coverage, and that if you rebased it would always increase. But maybe it's just a bug somewhere._______________________________________________
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. - 10:21 - 11 Sep 2023 -
Re: 100 % coverage not enough?
El vie, 08-09-2023 a las 18:57 +0000, Ronald Portier escribió:Supposedly the PR would decrease the overall coverage percentage. How??
The 1st thing you need to know is that hose checks are not required.Now, this is how your PR looks:That ✅ is telling the reviewer that the PR has a 100% of coverage. That's the important part.The ❌ however is the weirdo. Sometimes it happens, so I systematically ignore that check. IMHO it could be removed. My guess is that the base branch evolved and got more coverage, and that if you rebased it would always increase. But maybe it's just a bug somewhere.
by Jairo Llopis - 10:11 - 11 Sep 2023 -
Re: 100 % coverage not enough?
Hi Ronald,I replied on the PR.BestsOn Fri, Sep 8, 2023 at 8:57 PM Ronald Portier <notifications@odoo-community.org> wrote:Hi all, I submitted a PR with 100% code coverage to the account-invoicing repo. However the branch is red because 100% is apparently not enough. Supposedly the PR would decrease the overall coverage percentage. How?? See here: https://github.com/OCA/account-invoicing/pull/1544 I think any PR that gets code coverage > 90% (and that does not decrease coverage of an existing module), should get a branch green, but certainly 100%. Kind regards, Ronald
_______________________________________________
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.
by Simone Orsi. - 07:55 - 11 Sep 2023
-
-
Login Case Sensative
Howdy y'all,I wanted this issue to get some more attention as it can effect many people using Odoo:Feel free to reply in the PR or directly here.Take care,Jasonjason@companionedu.com
by companiontechnology - 05:15 - 7 Sep 2023