From f47e32d437539a55ad0a8c5f94bf0241ca55077c Mon Sep 17 00:00:00 2001 From: "Naresh (OpenERP)" Date: Mon, 28 Nov 2011 16:44:30 +0530 Subject: [PATCH] [FIX]:initialise the parser before adding user defined sections to parser lp bug: https://launchpad.net/bugs/822836 fixed bzr revid: nch@tinyerp.com-20111128111430-cki6c7dkthq8ynug --- openerp/tools/config.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openerp/tools/config.py b/openerp/tools/config.py index 7708ab1812d..5fb887a68c0 100644 --- a/openerp/tools/config.py +++ b/openerp/tools/config.py @@ -568,6 +568,7 @@ class configmanager(object): p.set('options', opt, self.options[opt]) for sec in sorted(self.misc.keys()): + p.add_section(sec) for opt in sorted(self.misc[sec].keys()): p.set(sec,opt,self.misc[sec][opt])