Update to work with OpenErp 7