Skip to Content
Menu
This question has been flagged
1 Reply
2415 Views

(v11 CE) I have a number of comma-separated paths in my addons_path setting in odoo-server.conf that I would like to list on separate lines for clarity of reading. For example:

addons_path = [

    /odoo/odoo-server/addons,

    /odoo/odoo-server/custom_one,

    /odoo/odoo-server/custom_two,

    ]

Of course, I've tried the above and it did not work (also { } did not work either). Any thoughts?

Avatar
Discard
Best Answer

Yes, you can do this but it should be formatted with out [ ] and no comma on the last line.

addons_path =/odoo/odoo-server/addons,
    /odoo/odoo-server/addons,
    /odoo/odoo-server/addons/custom_one,
    /odoo/odoo-server/addons/custom_two

Avatar
Discard
Author

So much easier to read -- thank you!

Related Posts Replies Views Activity
0
Dec 24
19
0
Dec 24
2
0
Dec 24
28
1
Dec 24
111
2
Dec 24
390