Skip to Content

Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

This question has been flagged
1 Reply
36 Views

I want my Odoo server to automatically update certain custom modules whenever I run the debug. How can I do this?

Avatar
Discard
Author Best Answer

You can use the Odoo CLI. If you are using pycharm, go to Run->Debug->Edit Configurations->python

From here you can either edit the default debug config or make a copy.

You can enter Odoo CLI commands in the 'Script parameters' field. To automate the installation or upgrading of certain modules on a database add after the .conf:

-d databaseName -u module_name

Where -u will upgrade the module and -i will install. You can comma delimit module names to upgrade multiple modules e.g -u module_name1,module_name2

Avatar
Discard
Related Posts Replies Views Activity
1
May 16
34
1
Aug 16
55
1
Jul 16
36
1
May 16
33
1
May 16
50