l10n_br_cnpj_search
in l10n-brazil · source on GitHub
Integração com os Webservices da ReceitaWS, SerPro e cpfcnpj.com.br
KMEE · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | ~Environment problem | External Python package missing: brazilcep · run 2026-09-10 | on GitHub |
| 17.0 | ~Environment problem | External Python package missing: brazilcep · run 2026-10-03 | on GitHub |
| 18.0 | ✓Installs | · run 2026-09-18 · 18.0.1.4.0 | on GitHub |
| 19.0 | ✓Installs | · run 2026-09-21 · 19.0.1.1.0 | on GitHub |
| 20.0 | —Not tested | no branch |
Odoo 20.0 dev — development line
A different statement from the table above. There: the module as published, on a released platform. Here: the module’s code with its manifest version mechanically raised, on a platform that has not been released and changes daily.
| Status | Details |
|---|---|
| ✗fails | The same code installs on 19.0; on the development line it does not. The difference belongs to the platform. (model_gone) · failed in a file of ANOTHER module: uom_alias/security/ir.model.access.csv · version 19.0.1.0.0 → 19.5.1.0.0, code unchanged · run 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910 |
Log excerpt, 20.0 dev
2026-09-10 19:51:45,874 1 INFO job_c0b8796a4765 odoo.modules.loading: Loading module uom_alias (18/39)
2026-09-10 19:51:45,889 1 INFO job_c0b8796a4765 odoo.registry: module uom_alias: creating or updating database tables
2026-09-10 19:51:46,015 1 INFO job_c0b8796a4765 odoo.modules.loading: loading uom_alias/security/ir.model.access.csv
2026-09-10 19:51:46,098 1 WARNING job_c0b8796a4765 odoo.modules.loading: Transient module states were reset
2026-09-10 19:51:46,100 1 ERROR job_c0b8796a4765 odoo.registry: Failed to load registry
2026-09-10 19:51:46,101 1 CRITICAL job_c0b8796a4765 odoo.service.server: Failed to initialize database `job_c0b8796a4765`.
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 211, in load_module_graph
load_data(env, idref, 'init', kind='data', package=package)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 56, in load_data
convert_file(env, package.name, filename, idref, mode, noupdate=kind == 'demo')
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 712, in convert_file
convert_csv_import(env, module, pathname, fp.read(), idref, mode, noupdate)
File "/usr/lib/python3/dist-packages/odoo/tools/convert.py", line 769, in convert_csv_import
result = env[model].with_context(**context).load(fields, datas)
~~~^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/orm/environments.py", line 107, in __getitem__
return self.registry[model_name](self, (), ())
~~~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/orm/registry.py", line 385, in __getitem__
return self.models[model_name]
~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'ir.model.access'
2026-09-10 19:51:46,109 1 INFO job_c0b8796a4765 odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-10 19:51:46,110 1 INFO job_c0b8796a4765 odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 19:51:46,110 1 INFO job_c0b8796a4765 odoo.addons.bus.websocket: Disconnecting 0 websockets
2026-09-10 19:51:46,211 1 INFO job_c0b8796a4765 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 76a9f9ada159c875… · tree of 37 files without the manifest, sha256 ee0031c187f5adc1…
This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version
Odoo 20.0 — the branch itself
The same frozen code, run again against the real 20.0 branch. The run above used Odoo’s development line before the branch was cut; this one used the branch, pinned to one commit.
| Status | Details |
|---|---|
| ✗fails | The same code installs on 19.0; on the development line it does not. The difference belongs to the platform. (model_gone) · failed in a file of ANOTHER module: uom_alias/security/ir.model.access.csv · version 19.0.1.0.0 → 20.0.1.0.0, code unchanged · run 2026-09-18 · odoo 20.0 · modidx/odoo:20.0-deps-20260918 |
Log excerpt, 20.0 dev
2026-09-18 14:25:41,757 1 INFO job_5a473eff7beb odoo.modules.loading: Loading module uom_alias (19/38)
2026-09-18 14:25:41,774 1 INFO job_5a473eff7beb odoo.registry: module uom_alias: creating or updating database tables
2026-09-18 14:25:41,936 1 INFO job_5a473eff7beb odoo.modules.loading: loading uom_alias/security/ir.model.access.csv
2026-09-18 14:25:42,005 1 WARNING job_5a473eff7beb odoo.modules.loading: Transient module states were reset
2026-09-18 14:25:42,007 1 ERROR job_5a473eff7beb odoo.registry: Failed to load registry
2026-09-18 14:25:42,007 1 CRITICAL job_5a473eff7beb odoo.service.server: Failed to initialize database `job_5a473eff7beb`.
Traceback (most recent call last):
File "/opt/odoo/odoo/service/server.py", line 1520, in preload_registries
registry = Registry.new(dbname, update_module=update_module, install_modules=config['init'], upgrade_modules=config['update'], reinit_modules=config['reinit'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/tools/func.py", line 67, in locked
return func(inst, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/orm/registry.py", line 222, in new
contextvars.Context().run(
File "/opt/odoo/odoo/modules/loading.py", line 449, in load_modules
load_module_graph(
File "/opt/odoo/odoo/modules/loading.py", line 211, in load_module_graph
load_data(env, idref, 'init', kind='data', package=package)
File "/opt/odoo/odoo/modules/loading.py", line 56, in load_data
convert_file(env, package.name, filename, idref, mode, noupdate=kind == 'demo')
File "/opt/odoo/odoo/tools/convert.py", line 714, in convert_file
convert_csv_import(env, module, pathname, fp.read(), idref, mode, noupdate)
File "/opt/odoo/odoo/tools/convert.py", line 771, in convert_csv_import
result = env[model].with_context(**context).load(fields, datas)
~~~^^^^^^^
File "/opt/odoo/odoo/orm/environments.py", line 107, in __getitem__
return self.registry[model_name](self, (), ())
~~~~~~~~~~~~~^^^^^^^^^^^^
File "/opt/odoo/odoo/orm/registry.py", line 385, in __getitem__
return self.models[model_name]
~~~~~~~~~~~^^^^^^^^^^^^
KeyError: 'ir.model.access'
2026-09-18 14:25:42,014 1 INFO job_5a473eff7beb odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-18 14:25:42,014 1 INFO job_5a473eff7beb odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-18 14:25:42,014 1 INFO job_5a473eff7beb odoo.addons.bus.websocket: Disconnecting 0 websockets
2026-09-18 14:25:42,116 1 INFO job_5a473eff7beb odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 76a9f9ada159c875… · tree of 37 files without the manifest, sha256 ee0031c187f5adc1…
This does not say the module is compatible with Odoo 20.0, and does not say it installs on Odoo 20.0 — on a stock platform it will not, until its maintainer raises the version. Why we raise the version
The apps.odoo.com catalogue has a listing under the same technical name on 16.0, 17.0, 18.0: apps.odoo.com/apps/modules/18.0/l10n_br_cnpj_search. A matching name does not prove matching code — how we counted this.
Depends on
| Module | Status | Checked |
|---|---|---|
| contacts | core | ships with Odoo |
| l10n_br_fiscal | ✓Installs | 2026-10-06 |
| l10n_br_zip | ✓Installs | 2026-09-25 |
External dependencies
Checked against modidx/odoo:19.0-deps-20260922.
| Kind | Package | In our image |
|---|---|---|
| python | erpbrasil-base>=2.4.2 | in image |
Depended on by
1 module on 19.0 declares this one as a dependency.
Install log 17.0
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 406, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "l10n_br_zip" because an external dependency is not met: Python library not installed: brazilcep
2026-10-03 03:59:58,032 1 CRITICAL job_4a25732c0e57 odoo.service.server: Failed to initialize database `job_4a25732c0e57`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 496, in check_python_external_dependency
get_distribution(pydep)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 471, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 347, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 891, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 777, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'brazilcep' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 499, in check_python_external_dependency
importlib.import_module(pydep)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'brazilcep'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 367, in check_external_dependencies
modules.check_manifest_dependencies(terp)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 518, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 504, in check_python_external_dependency
raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: brazilcep
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/service/server.py", line 1422, 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 99, in new
odoo.modules.load_modules(registry, force_demo, status, update_module)
File "/usr/lib/python3/dist-packages/odoo/modules/loading.py", line 452, in load_modules
modules.button_install()
File "<decorator-gen-76>", line 2, in button_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 77, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 427, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 400, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 406, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 375, in check_external_dependencies
raise UserError(msg)
odoo.exceptions.UserError: Unable to install module "l10n_br_zip" because an external dependency is not met: Python library not installed: brazilcep
2026-10-03 03:59:58,036 1 INFO job_4a25732c0e57 odoo.service.server: Initiating shutdown
2026-10-03 03:59:58,036 1 INFO job_4a25732c0e57 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2026-10-03 03:59:58,039 1 INFO job_4a25732c0e57 odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connectionsInstall log 16.0
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "l10n_br_zip" because an external dependency is not met: Python library not installed: brazilcep
2026-09-10 03:46:52,976 1 CRITICAL job_c950c1b88dc6 odoo.service.server: Failed to initialize database `job_c950c1b88dc6`.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 538, in check_python_external_dependency
pkg_resources.get_distribution(pydep)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 466, in get_distribution
dist = get_provider(dist)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 342, in get_provider
return working_set.find(moduleOrReq) or require(str(moduleOrReq))[0]
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 886, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 772, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'brazilcep' distribution was not found and is required by the application
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 541, in check_python_external_dependency
importlib.import_module(pydep)
File "/usr/lib/python3.9/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'brazilcep'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 360, in check_external_dependencies
modules.check_manifest_dependencies(terp)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 560, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 546, in check_python_external_dependency
raise Exception('Python library not installed: %s' % (pydep,))
Exception: Python library not installed: brazilcep
During handling of the above exception, another exception occurred:
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 460, in load_modules
modules.button_install()
File "<decorator-gen-76>", line 2, in button_install
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 74, in check_and_log
return method(self, *args, **kwargs)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 420, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 393, in _state_update
update_demo = update_mods._state_update(newstate, states_to_update, level=level-1)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 399, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 368, in check_external_dependencies
raise UserError(msg % (module_name, e.args[0]))
odoo.exceptions.UserError: Unable to install module "l10n_br_zip" because an external dependency is not met: Python library not installed: brazilcep
2026-09-10 03:46:52,980 1 INFO job_c950c1b88dc6 odoo.service.server: Initiating shutdown
2026-09-10 03:46:52,980 1 INFO job_c950c1b88dc6 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 03:46:52,981 1 INFO job_c950c1b88dc6 odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connectionsResult looks wrong? Tell us — we will show the log or run it again. Report a wrong result