5.0 port

This is a port of lp:openupgrade-server/5.0 onto GH odoo/odoo 5.0.