This question has been flagged
2972 Views

Just a little question about the flow

I have Pycharm install in Ubuntu 16.04, with that I configure Odoo running with this parameter configuration:

--addons-path=/home/maxibi/Odoo/Odoo11/addons,/home/maxibi/Odoo/Odoo11/custom_addons


Notice the second custom addons path parameter, If I create an empty folder of 'custom_addons' when I run the server, it complains that the path is not valid path of addons. But when I put a module inside the folder, it doesn't complain.

How did Odoo scan this. Any technical code going on for this ? Just for my technical knowledge about this.

Avatar
Discard
Author

I should have used the search. Here is the answer for the other guy: https://www.odoo.com/forum/help-1/question/error-not-a-valid-addons-directory-27590

Meaning that, the folder must contain one or more module to be the valid path