[IMP] cleanup namelist code a bit
[IMP] cleanup namelist code a bit

havt/openerp-web,havt/openerp-web,akretion/openerp-web,akretion/openerp-web,havt/openerp-web,havt/openerp-web,havt/openerp-web,akretion/openerp-web