Porting openerp-mgmtsystem (original in Launchpad) to odoo v8