Traduction automatique. Les données et les chiffres font référence ; la formulation peut contenir des erreurs de traduction et certains fragments peuvent rester en anglais. La version faisant foi est celle des pages en anglais et en ukrainien. signalez-nous tout terme inexact
field_vector
dans server-tools · code source sur GitHub
New specialized field to store vector data
ACSONE SA/NV · LGPL-3
| Série | État | Détails | Code |
|---|---|---|---|
| 16.0 | ✗Erreur d'installation | SQL error while installing · exécuté le 2026-08-26 | sur GitHub |
| 17.0 | —Non testé | pas de branche | |
| 18.0 | ✗Erreur d'installation | SQL error while installing · exécuté le 2026-08-26 | sur GitHub |
| 19.0 | ✗Erreur d'installation | SQL error while installing · exécuté le 2026-08-26 | sur GitHub |
Odoo 20.0 dev — ligne de développement
Une affirmation différente de celle du tableau ci-dessus. Là : le module tel qu'il est publié, sur une plateforme déjà sortie. Ici : le code du module dont la version du manifeste a été relevée mécaniquement, sur une plateforme qui n'est pas sortie et qui change chaque jour.
| État | Détails |
|---|---|
| ✗fails | SQL error while installing · a échoué dans un fichier de ce module : field_vector/hooks.py · version 19.0.1.0.0 → 19.5.1.0.0, code inchangé · exécuté le 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910 |
Extrait du journal, 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 connectionsProvenance : __manifest__.py sha256 ebac33192782f070… · arborescence de 22 fichiers sans le manifeste, sha256 7882c8269c5cc91a…
Cela ne dit pas que le module est compatible avec Odoo 20.0, et cela ne dit pas qu'il s'installe sur Odoo 20.0 : sur une plateforme standard il ne s'installera pas, tant que son mainteneur n'aura pas relevé la version. Pourquoi nous relevons la version
The module’s code on 19.0
| Lines of code | python 522 · xml 0 |
| Tests | yes: 1 file(s), 152 lines |
| Migration scripts | no |
| Models | 1 new · 1 extensions |
| Raw SQL | 9 × 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.
Le catalogue apps.odoo.com contient une fiche sous le même nom technique sur 16.0, 18.0, 19.0 : apps.odoo.com/apps/modules/19.0/field_vector. Un nom identique ne prouve pas un code identique — comment nous avons compté.
Dépend de
| Module | État | Vérifié |
|---|---|---|
| base | noyau | livré avec Odoo |
Dépendances externes
Vérifié par rapport à modidx/odoo:19.0-deps-20260819b.
| Type | Paquet | Dans notre image |
|---|---|---|
| python | numpy | dans l'image |
Historique
| Dernière modification | 2026-01-21 |
| Commits de code, 12 mois | 4 |
| Les plus actifs | Hai Lang, Laurent Mignon (ACSONE) |
| Fichiers | 23 |
Les commits de traduction et de bots sont exclus du décompte.
Journal d'installation 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;Journal d'installation 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 blockJournal d'installation 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;Le résultat vous semble faux ? Dites-le-nous : nous montrerons le journal ou relancerons l'installation. Signaler un résultat erroné