Archives
- By thread 1419
-
By date
- August 2019 59
- September 2019 118
- October 2019 165
- November 2019 97
- December 2019 35
- January 2020 58
- February 2020 204
- March 2020 121
- April 2020 172
- May 2020 50
- June 2020 158
- July 2020 85
- August 2020 94
- September 2020 193
- October 2020 277
- November 2020 100
- December 2020 159
- January 2021 38
- February 2021 87
- March 2021 146
- April 2021 73
- May 2021 90
- June 2021 86
- July 2021 123
- August 2021 50
- September 2021 68
- October 2021 66
- November 2021 74
- December 2021 75
- January 2022 98
- February 2022 77
- March 2022 68
- April 2022 31
- May 2022 59
- June 2022 87
- July 2022 141
- August 2022 38
- September 2022 73
- October 2022 152
- November 2022 39
- December 2022 50
- January 2023 93
- February 2023 49
- March 2023 106
- April 2023 47
- May 2023 69
- June 2023 92
- July 2023 64
- August 2023 103
- September 2023 91
- October 2023 101
- November 2023 94
- December 2023 46
- January 2024 75
- February 2024 79
- March 2024 104
- April 2024 63
- May 2024 40
- June 2024 160
- July 2024 80
- August 2024 70
- September 2024 62
- October 2024 121
- November 2024 117
- December 2024 89
- January 2025 59
- February 2025 104
- March 2025 96
- April 2025 107
- May 2025 52
- June 2025 72
- July 2025 60
- August 2025 81
- September 2025 124
- October 2025 63
- November 2025 22
Contributors
-
Re: Suggested ways for deploying odoo through docker-odoo-project
Hi,When you work in dev locally, you wouldn't really need to COPY the files in the docker image, as, as you say, there is the volume.However, as soon as you want to deploy, you should not use the git repository anymore.The workflow we use is to build the image in CI (hence the COPY), run the tests in a container started from the new image, when tests are successful, the image is pushed to a registry. From there, the image can be deployed to test/staging/production environments.GuewenOn Sun, Oct 13, 2019 at 3:51 AM Tony Gu <tony@openerp.cn> wrote:Hi folks,I’m currently using camptocamp’s docker-odoo-project and akretion’s ak tool for local development and testing. It works like charm, thank you guys for building the great tools.I have one question though. Why do we need either use on-build base image or COPY instruction in our own Dockerfile to copy the files and folders into container while we’ve already set the volume like `./odoo:/odoo` in the `docker-compose.yml` file. Is it a redundant job, or did I miss any point here? My guess is that when we copy everything in the container, we can build our own project specific docker image to be used in deployment process. This leads to my second question. How can we use the docker-odoo-project for deployment process? Simple ideas, suggestions or a sophisticated container orchestrating solutions are all welcomed, Thank you very much in advance.Best 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 Guewen Baconnier - 08:25 - 14 Oct 2019 -
Re: Runbot restart
Thank you!--On Sun 13 Oct 2019 at 11:57 Maxime Chambreuil <mchambreuil@opensourceintegrators.com> wrote:Thank you 👍El dom., 13 de octubre de 2019 10:37, Frederik Kramer <frederik.kramer@initos.com> escribió:Thanks a lot Alexandre Best and nice rest of this sunday Frederik Am Sonntag, den 13.10.2019, 11:07 +0000 schrieb Alexandre Fayolle: > Maintenance is over, recent branches are being rebuilt. > > Have a nice sunday. > > Alexandre > > On 13/10/2019 09:28, Alexandre Fayolle wrote: >
> > Hello all, > > > > > > I'm performing a server update on the runbot servers this morning. > This > > > will require a reboot of the servers. Recent builds will be > manually > > > rebuilt, but this will take a little time to get back. > > > > > > Thanks for your patience. > > > > > > > > > > -- > Alexandre Fayolle > Chef de Projet > 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 > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe
-- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.comWeb: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155_______________________________________________
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
Moisés López CalderónMobile: (+521) 477-752-22-30Twitter: @moylop260Twitter: @vauxoo
by Moisés López Calderón - 02:21 - 14 Oct 2019 -
Re: Runbot restart
Thanks.
Good work.
Il 13/10/2019 18:57, Maxime Chambreuil ha scritto:
Thank you 👍
El dom., 13 de octubre de 2019 10:37, Frederik Kramer <frederik.kramer@initos.com> escribió:
Thanks a lot Alexandre Best and nice rest of this sunday Frederik Am Sonntag, den 13.10.2019, 11:07 +0000 schrieb Alexandre Fayolle: > Maintenance is over, recent branches are being rebuilt. > > Have a nice sunday. > > Alexandre > > On 13/10/2019 09:28, Alexandre Fayolle wrote: > > > Hello all, > > > > > > I'm performing a server update on the runbot servers this morning. > This > > > will require a reboot of the servers. Recent builds will be > manually > > > rebuilt, but this will take a little time to get back. > > > > > > Thanks for your patience. > > > > > > > > > > -- > Alexandre Fayolle > Chef de Projet > 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 > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
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 Antonio M. Vigliotti - 07:06 - 13 Oct 2019 -
Re: Runbot restart
Thank you 👍El dom., 13 de octubre de 2019 10:37, Frederik Kramer <frederik.kramer@initos.com> escribió:Thanks a lot Alexandre Best and nice rest of this sunday Frederik Am Sonntag, den 13.10.2019, 11:07 +0000 schrieb Alexandre Fayolle: > Maintenance is over, recent branches are being rebuilt. > > Have a nice sunday. > > Alexandre > > On 13/10/2019 09:28, Alexandre Fayolle wrote: > > > Hello all, > > > > > > I'm performing a server update on the runbot servers this morning. > This > > > will require a reboot of the servers. Recent builds will be > manually > > > rebuilt, but this will take a little time to get back. > > > > > > Thanks for your patience. > > > > > > > > > > -- > Alexandre Fayolle > Chef de Projet > 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 > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by Maxime Chambreuil - 06:56 - 13 Oct 2019 -
Re: Runbot restart
Thanks a lot Alexandre Best and nice rest of this sunday Frederik Am Sonntag, den 13.10.2019, 11:07 +0000 schrieb Alexandre Fayolle: > Maintenance is over, recent branches are being rebuilt. > > Have a nice sunday. > > Alexandre > > On 13/10/2019 09:28, Alexandre Fayolle wrote: > > > Hello all, > > > > > > I'm performing a server update on the runbot servers this morning. > This > > > will require a reboot of the servers. Recent builds will be > manually > > > rebuilt, but this will take a little time to get back. > > > > > > Thanks for your patience. > > > > > > > > > > -- > Alexandre Fayolle > Chef de Projet > 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 > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 05:36 - 13 Oct 2019 -
Re: Runbot restart
Maintenance is over, recent branches are being rebuilt. Have a nice sunday. Alexandre On 13/10/2019 09:28, Alexandre Fayolle wrote: > Hello all, > > I'm performing a server update on the runbot servers this morning. This > will require a reboot of the servers. Recent builds will be manually > rebuilt, but this will take a little time to get back. > > Thanks for your patience. > > -- Alexandre Fayolle Chef de Projet 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 - 01:06 - 13 Oct 2019 -
Runbot restart
Hello all, I'm performing a server update on the runbot servers this morning. This will require a reboot of the servers. Recent builds will be manually rebuilt, but this will take a little time to get back. Thanks for your patience. -- Alexandre Fayolle Chef de Projet 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 - 09:31 - 13 Oct 2019 -
Suggested ways for deploying odoo through docker-odoo-project
Hi folks,I’m currently using camptocamp’s docker-odoo-project and akretion’s ak tool for local development and testing. It works like charm, thank you guys for building the great tools.I have one question though. Why do we need either use on-build base image or COPY instruction in our own Dockerfile to copy the files and folders into container while we’ve already set the volume like `./odoo:/odoo` in the `docker-compose.yml` file. Is it a redundant job, or did I miss any point here? My guess is that when we copy everything in the container, we can build our own project specific docker image to be used in deployment process. This leads to my second question. How can we use the docker-odoo-project for deployment process? Simple ideas, suggestions or a sophisticated container orchestrating solutions are all welcomed, Thank you very much in advance.Best regards,
by Tony - 03:50 - 13 Oct 2019 -
-
Re: New library to migrate Odoo module code "odoo-migrate"
+1 stephane comment about standalone+1 about resist feature creepHasn't there been some proposal going around to have OCA-libs as a Github orga for those standalone projects to be hosted / promoted?There is python-xmlsig and python-xades from Eric and many others too.El vie., 11 oct. 2019, 9:16 a.m., Simone Orsi <simahawk@gmail.com> escribió:Nice! Thanks Sylvain.+1 for standalone project as well :)On Fri, Oct 11, 2019 at 2:57 PM Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote:+1 to keep it a standalone project. I'd rather see the good parts of OCA/maintainer-tools become standalone projects too.Regarding growing features, be strong Sylvain, resist scope creep :) Do one thing and do it well!-sbiOn Fri, Oct 11, 2019 at 2:47 PM David Arnold <dar@xoe.solutions> wrote:Re: Do you plan to grow features or is it limited to make those repetitive tasks more scriptable?On Fri, Oct 11, 2019 at 3:12 AM David Beal <david.beal@akretion.com> wrote:génialLe jeu. 10 oct. 2019 à 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> a écrit :Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by dar - 12:41 - 12 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Nice! Thanks Sylvain.+1 for standalone project as well :)On Fri, Oct 11, 2019 at 2:57 PM Stéphane Bidoul <stephane.bidoul@acsone.eu> wrote:+1 to keep it a standalone project. I'd rather see the good parts of OCA/maintainer-tools become standalone projects too.Regarding growing features, be strong Sylvain, resist scope creep :) Do one thing and do it well!-sbiOn Fri, Oct 11, 2019 at 2:47 PM David Arnold <dar@xoe.solutions> wrote:Re: Do you plan to grow features or is it limited to make those repetitive tasks more scriptable?On Fri, Oct 11, 2019 at 3:12 AM David Beal <david.beal@akretion.com> wrote:génialLe jeu. 10 oct. 2019 à 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> a écrit :Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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
_______________________________________________
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 Simone Orsi - 04:16 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
+1 to keep it a standalone project. I'd rather see the good parts of OCA/maintainer-tools become standalone projects too.Regarding growing features, be strong Sylvain, resist scope creep :) Do one thing and do it well!-sbiOn Fri, Oct 11, 2019 at 2:47 PM David Arnold <dar@xoe.solutions> wrote:Re: Do you plan to grow features or is it limited to make those repetitive tasks more scriptable?On Fri, Oct 11, 2019 at 3:12 AM David Beal <david.beal@akretion.com> wrote:génialLe jeu. 10 oct. 2019 à 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> a écrit :Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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
_______________________________________________
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 - 02:55 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Re: Do you plan to grow features or is it limited to make those repetitive tasks more scriptable?On Fri, Oct 11, 2019 at 3:12 AM David Beal <david.beal@akretion.com> wrote:génialLe jeu. 10 oct. 2019 à 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> a écrit :Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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 dar - 02:46 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
génialLe jeu. 10 oct. 2019 à 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> a écrit :Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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 David BEAL - 10:10 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Awesome idea, Sylvain! +1 for the renaming as Pedro suggested and integration in the maintainer-tools repo. Cheers and nice weekend Frederik Am Freitag, den 11.10.2019, 07:21 +0000 schrieb Pedro M. Baeza (Tecnativa): > Hi, Sylvain, > > Excelent initiative! I think we can move it to OCA, but a better name > would be odoo-oca-module-migrator, as it avoids confusion with the > migration process through OpenUpgrade or similar, and it also ties it > to OCA specific process. > > I think this can't be inside maintainer-tools, as it would require > specific folder structure for pypi publishing. > > Regards. > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe -- Dr.-Ing. Frederik Kramer Geschäftsführer initOS GmbH An der Eisenbahn 1 21224 Rosengarten Phone: +49 4105 56156-12 Fax: +49 4105 56156-10 Mobil: +49 179 3901819 Email: frederik.kramer@initos.com Web: www.initos.com Geschäftsführung: Dr.-Ing. Frederik Kramer & Dipl.-Ing. (FH) Torsten Francke Sitz der Gesellschaft: Rosengarten – Klecken Amtsgericht Tostedt, HRB 205226 Steuer-Nr: 15/200/53247 USt-IdNr.: DE815580155
by Frederik Kramer - 09:41 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Hi, Sylvain,Excelent initiative! I think we can move it to OCA, but a better name would be odoo-oca-module-migrator, as it avoids confusion with the migration process through OpenUpgrade or similar, and it also ties it to OCA specific process.I think this can't be inside maintainer-tools, as it would require specific folder structure for pypi publishing.Regards.
by Pedro M. Baeza - 09:20 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
This is very useful, thank you.On Thu, 10 Oct 2019 at 18:12, Sylvain LE GAL <sylvain.legal@grap.coop> wrote:Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind regards._______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
--Lorenzo Battistini
https://github.com/eLBati
by Lorenzo Battistini. - 08:35 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Really great initiative +1 for sureOn Thu, Oct 10, 2019, 11:12 PM Sylvain LE GAL <sylvain.legal@grap.coop> wrote:Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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 Kitti Upariphutthiphong - 08:26 - 11 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Very cool! I'll put that straight into DockeryOdoo!
Do you plan to grow features or is it limited to make those repetitive tasks more scriptable?I have worked on a complement, the dodoo-migrator (https://pypi.org/project/dodoo-migrator/)
which combines ideas of marabunta with the leaked (and patched) odoo internal migration library.On Thu, Oct 10, 2019 at 11:32 AM Alexandre Fayolle <alexandre.fayolle@camptocamp.com> wrote:Wow! Thanks Sylvain, this is definitely a very nice helper tool. I for one would love to see this in OCA/maintainers-tools if people are ok with this. It's already installed and tested locally :-D 🙏 Alexandre On 10/10/2019 18:12, Sylvain LE GAL wrote: > Dear OCA Contributors, > > I am working on a migration from 8.0 to 12.0. > For that purpose, I had to migrate a lot a modules. (about 50 OCA > modules, and >100 custom modules) > A lot of changes are very recurrent, and automatable. (removing python2 > header, renaming __openerp__.py into __manifest__.py, changing import). > > I began to make some scripts, and finally began to create a new python3 > library, to make that work. The name is "odoo-migrate" and the > description is available here https://pypi.org/project/odoo-migrate/. > and can be installed with the command / > / > /pip3 install odoo-migrate/ > > Once installed, you can run the following command (other options are > available)/ > / > /odoo-migrate -m my_module_name -i 8.0 -t 12.0/ > > It is based on the OCA recommendations available on this wiki > . > In addition to performing recurring operations, > - the library also execute the weird format-patch > > commandwhich I never remember(if asked). > - it displays some warning if some patterns are found. (for example, if > "ir.values" is found in a module 11+) > - it calls black for recent version > - it realize commits > > 1) If you're interested by such tool, you can review or test this project. > > 2) If you want to contribute, feel free, especially if you love regular > expressions.*It is still WIP*, and there is a lot of work**to do, like > making change in xml file. (replacing openerp + data by odoo tag). Also > adding test and plug with travis could be great. > > 3) if some OCA members are OK, I can transfer this project under OCA > umbrella. > > thank you for your feedback. > > kind regards. > > > *Sylvain LE GAL - Twitter * > *GRAP - Service informatique (Groupement Régional Alimentaire de Proximité)* > Site Web | FramaSphere > | > Facebook > 3 Grande rue des Feuillants, 69001 Lyon > Bureau : (+33) 09.72.32.33.17 - Astreinte : (+33) 06.81.85.61.43 > *Member of the OCA (Odoo Community Association) > * > Web Site | Twitter > > > _______________________________________________ > Mailing-List: https://odoo-community.org/groups/contributors-15 > Post to: mailto:contributors@odoo-community.org > Unsubscribe: https://odoo-community.org/groups?unsubscribe > -- Alexandre Fayolle Chef de Projet 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
_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe
by dar - 06:41 - 10 Oct 2019 -
Re: New library to migrate Odoo module code "odoo-migrate"
Wow, thank you it is a great contribution. I will try it in the following days.+1 to be transferred to the OCA umbrella.El jue., 10 oct. 2019 a las 12:12, Sylvain LE GAL (<sylvain.legal@grap.coop>) escribió:Dear OCA Contributors,I am working on a migration from 8.0 to 12.0.For that purpose, I had to migrate a lot a modules. (about 50 OCA modules, and >100 custom modules)A lot of changes are very recurrent, and automatable. (removing python2 header, renaming __openerp__.py into __manifest__.py, changing import).I began to make some scripts, and finally began to create a new python3 library, to make that work. The name is "odoo-migrate" and the description is available here https://pypi.org/project/odoo-migrate/. and can be installed with the commandpip3 install odoo-migrateOnce installed, you can run the following command (other options are available)odoo-migrate -m my_module_name -i 8.0 -t 12.0It is based on the OCA recommendations available on this wiki.In addition to performing recurring operations,- it displays some warning if some patterns are found. (for example, if "ir.values" is found in a module 11+)- it calls black for recent version- it realize commits1) If you're interested by such tool, you can review or test this project.2) If you want to contribute, feel free, especially if you love regular expressions. It is still WIP, and there is a lot of work to do, like making change in xml file. (replacing openerp + data by odoo tag). Also adding test and plug with travis could be great.3) if some OCA members are OK, I can transfer this project under OCA umbrella.thank you for your feedback.kind 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 Manuel A. Márquez - 06:36 - 10 Oct 2019