ubuntuwindows-subsystem-for-linuxadd-onodoo-15

path is not a valid addons directory


Hello

following the steps in "ODOO 15 DEVELOPMENT ESSENTIALS FIFTH EDITION" I'm trying to add a custom addons folder using a terminal on Ubuntu (wsl), when I run this command:

$ odoo -d 15-library --addons-path="./library,./odoo/addons"

I get this error:

Usage: odoo [options]

odoo: error: option --addons-path: the path './library' is not a valid addons directory

btw folder library exists in my path

thanks in advance for any help


Solution

  • It is solved by running scaffold command in the directory before running the command in the question 😁.