Traducción automática. Los datos y las cifras son la fuente de verdad; la redacción puede contener errores de traducción y algunos fragmentos pueden seguir en inglés. La versión autorizada son las páginas en inglés y en ucraniano. avísenos si un término no es exacto

field_vector

en server-tools · código en GitHub

New specialized field to store vector data

ACSONE SA/NV · LGPL-3

16.0Error de instalación
17.0×Not in this series
18.0Error de instalación
19.0Error de instalación
SerieEstadoDetallesCódigo
16.0Error de instalaciónSQL error while installing · ejecutado el 2026-08-26en GitHub
17.0Sin probarsin rama
18.0Error de instalaciónSQL error while installing · ejecutado el 2026-08-26en GitHub
19.0Error de instalaciónSQL error while installing · ejecutado el 2026-08-26en GitHub

Odoo 20.0 dev — línea de desarrollo

Una afirmación distinta de la de la tabla de arriba. Allí: el módulo tal como está publicado, sobre una plataforma ya liberada. Aquí: el código del módulo con la versión de su manifiesto elevada mecánicamente, sobre una plataforma que no está liberada y que cambia a diario.

EstadoDetalles
failsSQL error while installing · falló en un archivo de este módulo: field_vector/hooks.py · versión 19.0.1.0.0 → 19.5.1.0.0, código sin cambios · ejecutado el 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910

Extracto del registro, 20.0 dev

DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/vector.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.

2026-09-10 19:24:05,321 1 WARNING job_ec23ab4d87aa odoo.modules.loading: Transient module states were reset
2026-09-10 19:24:05,322 1 ERROR job_ec23ab4d87aa odoo.registry: Failed to load registry
2026-09-10 19:24:05,322 1 CRITICAL job_ec23ab4d87aa odoo.service.server: Failed to initialize database `job_ec23ab4d87aa`.
Traceback (most recent call last):
  File "/mnt/pool/field_vector/hooks.py", line 24, in pre_init_hook
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 418, in execute
    self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "vector" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/vector.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1559, in preload_registries
    registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 67, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 222, in new
    contextvars.Context().run(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 446, in load_modules
    load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 179, in load_module_graph
    getattr(py_module, pre_init)(env)
  File "/mnt/pool/field_vector/hooks.py", line 30, in pre_init_hook
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize vector support. Database user may have to be superuser and pgvector extensions  to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To dothis, open a client to your database using a super user and run:
CREATE EXTENSION vector;

2026-09-10 19:24:05,327 1 INFO job_ec23ab4d87aa odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-10 19:24:05,327 1 INFO job_ec23ab4d87aa odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 19:24:05,327 1 INFO job_ec23ab4d87aa odoo.addons.bus.websocket: Disconnecting 0 websockets
2026-09-10 19:24:05,429 1 INFO job_ec23ab4d87aa odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Procedencia: __manifest__.py sha256 ebac33192782f070… · árbol de 22 archivos sin el manifiesto, sha256 7882c8269c5cc91a…

Esto no dice que el módulo sea compatible con Odoo 20.0, y no dice que se instale en Odoo 20.0: sobre una plataforma estándar no lo hará, hasta que su mantenedor eleve la versión. Por qué elevamos la versión

The module’s code on 19.0

Lines of codepython 522 · xml 0
Testsyes: 1 file(s), 152 lines
Migration scriptsno
Models1 new · 1 extensions
Raw SQL9 × cr.execute

Lines are physical, blanks and comments included, as wc -l. Tests are test_*.py files under tests/. Models are lines holding _name = and _inherit =. These are facts about the code, not a judgement: more lines is neither better nor worse. Measured 2026-08-28 on tree 8fa3ea3f6399.

El catálogo apps.odoo.com tiene una publicación con el mismo nombre técnico en 16.0, 18.0, 19.0: apps.odoo.com/apps/modules/19.0/field_vector. Que el nombre coincida no demuestra que el código coincida — cómo lo contamos.

Depende de

MóduloEstadoComprobado
basenúcleoviene con Odoo

Dependencias externas

Comprobado contra modidx/odoo:19.0-deps-20260819b.

TipoPaqueteEn nuestra imagen
pythonnumpyen la imagen

Historial

Último cambio2026-01-21
Commits de código, 12 meses4
Más activosHai Lang, Laurent Mignon (ACSONE)
Archivos23

Los commits de traducción y de bots quedan fuera del recuento.

Registro de instalación 19.0

DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/vector.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.
 
2026-08-26 19:34:33,093 1 WARNING job_d493c6428c47 odoo.modules.loading: Transient module states were reset 
2026-08-26 19:34:33,093 1 ERROR job_d493c6428c47 odoo.registry: Failed to load registry 
2026-08-26 19:34:33,093 1 CRITICAL job_d493c6428c47 odoo.service.server: Failed to initialize database `job_d493c6428c47`. 
Traceback (most recent call last):
  File "/mnt/pool/field_vector/hooks.py", line 24, in pre_init_hook
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 440, in execute
    self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "vector" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/vector.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1585, in preload_registries
    registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 88, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 189, in new
    load_modules(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 464, in load_modules
    load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 185, in load_module_graph
    getattr(py_module, pre_init)(env)
  File "/mnt/pool/field_vector/hooks.py", line 30, in pre_init_hook
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize vector support. Database user may have to be superuser and pgvector extensions  to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To dothis, open a client to your database using a super user and run:
CREATE EXTENSION vector;

Registro de instalación 18.0

2026-08-26 19:33:42,629 1 ERROR job_f413f33c6236 odoo.sql_db: bad query: b"SELECT *, name->>'en_US' AS name FROM ir_model WHERE state = 'manual'"
ERROR: current transaction is aborted, commands ignored until end of transaction block
 
2026-08-26 19:33:42,635 1 WARNING job_f413f33c6236 odoo.modules.loading: Transient module states were reset 
2026-08-26 19:33:42,635 1 ERROR job_f413f33c6236 odoo.modules.registry: Failed to load registry 
2026-08-26 19:33:42,635 1 CRITICAL job_f413f33c6236 odoo.service.server: Failed to initialize database `job_f413f33c6236`. 
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1414, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 118, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 489, in load_modules
    processed_modules += load_marked_modules(env, graph,
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 365, in load_marked_modules
    loaded, processed = load_module_graph(
                        ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 205, in load_module_graph
    registry.setup_models(env.cr)
  File "/usr/lib/python3/dist-packages/decorator.py", line 232, in fun
    return caller(func, *(extras + args), **kw)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 97, in locked
    return func(inst, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 327, in setup_models
    env['ir.model']._add_manual_models()
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_model.py", line 515, in _add_manual_models
    cr.execute("SELECT *, name->>'en_US' AS name FROM ir_model WHERE state = 'manual'")
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 371, in execute
    res = self._obj.execute(query, params)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.InFailedSqlTransaction: current transaction is aborted, commands ignored until end of transaction block

Registro de instalación 16.0

  File "/mnt/pool/field_vector/hooks.py", line 21, in pre_init_hook
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize vector support. Database user may have to be superuser and pgvector extensions  to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To dothis, open a client to your database using a super user and run:
CREATE EXTENSION vector;

2026-08-26 22:10:36,428 1 CRITICAL job_d4c1e1382237 odoo.service.server: Failed to initialize database `job_d4c1e1382237`. 
Traceback (most recent call last):
  File "/mnt/pool/field_vector/hooks.py", line 15, in pre_init_hook
    cr.execute(
  File "/usr/lib/python3/dist-packages/odoo/sql_db.py", line 324, in execute
    res = self._obj.execute(query, params)
psycopg2.errors.FeatureNotSupported: extension "vector" is not available
DETAIL:  Could not open extension control file "/usr/local/share/postgresql/extension/vector.control": No such file or directory.
HINT:  The extension must first be installed on the system where PostgreSQL is running.


The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1333, in preload_registries
    registry = Registry.new(dbname, update_module=update_module)
  File "<decorator-gen-16>", line 2, in new
  File "/usr/lib/python3/dist-packages/odoo/tools/func.py", line 87, in locked
    return func(inst, *args, **kwargs)
  File "/usr/lib/python3/dist-packages/odoo/modules/registry.py", line 87, in new
    odoo.modules.load_modules(registry, force_demo, status, update_module)
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 493, in load_modules
    processed_modules += load_marked_modules(cr, graph,
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 374, in load_marked_modules
    loaded, processed = load_module_graph(
  File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 197, in load_module_graph
    getattr(py_module, pre_init)(cr)
  File "/mnt/pool/field_vector/hooks.py", line 21, in pre_init_hook
    raise MissingError(
odoo.exceptions.MissingError: Error, can not automatically initialize vector support. Database user may have to be superuser and pgvector extensions  to be installed. If you do not want Odoo to connect with a super user you can manually prepare your database. To dothis, open a client to your database using a super user and run:
CREATE EXTENSION vector;

¿El resultado parece erróneo? Díganoslo: le mostraremos el registro o lo ejecutaremos de nuevo. Informar de un resultado erróneo

Recibir un aviso cuando este módulo cambie de estado

Datos actualizados el 2026-09-16 22:00 UTC · publicamos el registro de instalación con su fecha, no una valoración del proveedor · El CSV y el JSON son abiertos

Dudas o un resultado erróneo: abrir un issue o hello@allservices.one

Proyecto independiente. Sin vinculación con Odoo S.A. ni con la Odoo Community Association.