Odoo Multiline Config File

Viewed 76

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?

1 Answers

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
Related