Tradução automática. Os dados e os números são a fonte da verdade; a redação pode conter erros de tradução e alguns trechos podem continuar em inglês. A versão autoritativa são as páginas em inglês e em ucraniano. avise-nos se algum termo estiver impreciso

field_vector

em server-tools · código no GitHub

New specialized field to store vector data

ACSONE SA/NV · LGPL-3

16.0Erro de instalação
17.0×Not in this series
18.0Erro de instalação
19.0Erro de instalação
SérieEstadoDetalhesCódigo
16.0Erro de instalaçãoSQL error while installing · executado em 2026-08-26no GitHub
17.0Não testadosem branch
18.0Erro de instalaçãoSQL error while installing · executado em 2026-08-26no GitHub
19.0Erro de instalaçãoSQL error while installing · executado em 2026-08-26no GitHub

Odoo 20.0 dev — linha de desenvolvimento

Uma afirmação diferente da tabela acima. Lá: o módulo como publicado, sobre uma plataforma já lançada. Aqui: o código do módulo com a versão do manifesto elevada mecanicamente, sobre uma plataforma que não foi lançada e que muda todos os dias.

EstadoDetalhes
failsSQL error while installing · falhou em um arquivo deste módulo: field_vector/hooks.py · versão 19.0.1.0.0 → 19.5.1.0.0, código sem alterações · executado em 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910

Trecho do log, 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

Procedência: __manifest__.py sha256 ebac33192782f070… · árvore de 22 arquivos sem o manifesto, sha256 7882c8269c5cc91a…

Isto não diz que o módulo é compatível com o Odoo 20.0, e não diz que ele instala no Odoo 20.0 — em uma plataforma padrão não vai instalar, até que o mantenedor eleve a versão. Por que elevamos a versão

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.

O catálogo apps.odoo.com tem um anúncio com o mesmo nome técnico na 16.0, 18.0, 19.0: apps.odoo.com/apps/modules/19.0/field_vector. Nome igual não prova código igual — como contamos isto.

Depende de

MóduloEstadoVerificado
basenúcleovem com o Odoo

Dependências externas

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

TipoPacoteNa nossa imagem
pythonnumpyna imagem

Histórico

Última alteração2026-01-21
Commits de código, 12 meses4
Mais ativosHai Lang, Laurent Mignon (ACSONE)
Arquivos23

Commits de tradução e de bots ficam fora da contagem.

Log de instalação 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;

Log de instalação 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

Log de instalação 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;

O resultado parece errado? Diga-nos — mostraremos o log ou executaremos de novo. Relatar um resultado errado

Ser avisado quando este módulo mudar de estado

Dados atualizados em 2026-09-16 22:00 UTC · publicamos o log de instalação com data, não uma avaliação do fornecedor · O CSV e o JSON são abertos

Dúvidas ou um resultado errado: abrir uma issue ou hello@allservices.one

Projeto independente. Sem vínculo com a Odoo S.A. nem com a Odoo Community Association.