Skip to Content

Contributors

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

Sans virus.www.avast.com

by Sylvain - 08:35 - 23 Sep 2023

Follow-Ups

  • Re: Development environement
    Hello

    It looks like you posted the same one on august 16th and you had a lot of replies already

    But maybe this is a message that has been sent twice by odoo-community.org
    We already had a weird thing like that a few days ago

    Best 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

    Le 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

    Sans virus.www.avast.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 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 me

    Atte:
    Daniel

    El 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

    Sans virus.www.avast.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 DANIEL CARRION - 11:40 - 23 Sep 2023