Fix OpenERP extract