Search code examples
configurationodooodoo-14

Odoo Multiline Config File


One of the parameters in the config file has a long value and I want to put the separated value by a comma in the new line

From

addons_path = C:\My\Odoo\addons1, C:\My\Odoo\addons2, C:\My\Odoo\addons3

To

addons_path = C:\My\Odoo\addons1,
C:\My\Odoo\addons2,
C:\My\Odoo\addons3

How can I achieve that?


Solution

  • From the Supported INI File Structure section

    Values can also span multiple lines, as long as they are indented deeper than the first line of the value

    The following key/value entry should work:

    addons_path = C:\My\Odoo\addons1,
                  C:\My\Odoo\addons2,
                  C:\My\Odoo\addons3