base_report_to_printer_cups
in report-print-send · source on GitHub
Category: Generic Modules/Base · Agile Business Group & Domsense · Pegueroles SCP · NaN · LasLabs · AGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | —Not tested | no branch | |
| 17.0 | —Not tested | no branch | |
| 18.0 | —Not tested | no branch | |
| 19.0 | ~Environment problem | External Python package missing: pycups · run 2026-08-26 | 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 |
|---|---|
| ~environment | External Python package missing: pycups · version 19.0.0.2.0 → 19.5.0.2.0, code unchanged · run 2026-09-10 · odoo 19.5 · modidx/odoo:master-deps-20260910 |
Log excerpt, 20.0 dev
2026-09-10 18:37:16,028 1 INFO job_52d0c8aff88c odoo.modules.loading: updating modules list
2026-09-10 18:37:16,033 1 INFO job_52d0c8aff88c odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2026-09-10 18:37:36,508 1 INFO job_52d0c8aff88c odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Report to printer CUPS'] to user __system__ #1 via n/a
2026-09-10 18:37:36,561 1 WARNING job_52d0c8aff88c odoo.modules.loading: Transient module states were reset
2026-09-10 18:37:36,562 1 ERROR job_52d0c8aff88c odoo.registry: Failed to load registry
2026-09-10 18:37:36,563 1 CRITICAL job_52d0c8aff88c odoo.service.server: Failed to initialize database `job_52d0c8aff88c`.
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
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 630, in check_python_external_dependency
version = importlib.metadata.version(requirement.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 889, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for pycups
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 353, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 309, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 640, in check_python_external_dependency
raise MissingDependency(msg, pydep) from e
odoo.modules.module.MissingDependency: External dependency 'pycups' not installed: No package metadata was found for pycups
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 407, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 424, in button_install
modules._state_update('to install', ['uninstalled'])
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 401, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 373, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "base_report_to_printer_cups" because an external dependency is not met: pycups
2026-09-10 18:37:36,571 1 INFO job_52d0c8aff88c odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-10 18:37:36,571 1 INFO job_52d0c8aff88c odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-10 18:37:36,572 1 INFO job_52d0c8aff88c odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 f6f23994bc53945d… · tree of 63 files without the manifest, sha256 3731f6495fbba910…
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 |
|---|---|
| ~environment | External Python package missing: pycups · version 19.0.0.2.0 → 20.0.0.2.0, code unchanged · run 2026-09-18 · odoo 20.0 · modidx/odoo:20.0-deps-20260918 |
Log excerpt, 20.0 dev
2026-09-18 13:51:27,988 1 INFO job_345c135aef63 odoo.modules.loading: updating modules list
2026-09-18 13:51:27,992 1 INFO job_345c135aef63 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a
2026-09-18 13:51:49,279 1 INFO job_345c135aef63 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Report to printer CUPS'] to user __system__ #1 via n/a
2026-09-18 13:51:49,316 1 WARNING job_345c135aef63 odoo.modules.loading: Transient module states were reset
2026-09-18 13:51:49,317 1 ERROR job_345c135aef63 odoo.registry: Failed to load registry
2026-09-18 13:51:49,318 1 CRITICAL job_345c135aef63 odoo.service.server: Failed to initialize database `job_345c135aef63`.
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/odoo/odoo/modules/module.py", line 630, in check_python_external_dependency
version = importlib.metadata.version(requirement.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 889, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for pycups
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 354, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/opt/odoo/odoo/modules/module.py", line 309, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/opt/odoo/odoo/modules/module.py", line 640, in check_python_external_dependency
raise MissingDependency(msg, pydep) from e
odoo.modules.module.MissingDependency: External dependency 'pycups' not installed: No package metadata was found for pycups
The above exception was the direct cause of the following exception:
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 410, in load_modules
modules.button_install()
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 75, in check_and_log
return method(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 425, in button_install
modules._state_update('to install', ['uninstalled'])
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 402, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/opt/odoo/odoo/addons/base/models/ir_module.py", line 374, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "base_report_to_printer_cups" because an external dependency is not met: pycups
2026-09-18 13:51:49,326 1 INFO job_345c135aef63 odoo.service.server.ThreadedServer: Initiating shutdown
2026-09-18 13:51:49,326 1 INFO job_345c135aef63 odoo.service.server.ThreadedServer: Hit CTRL-C again or send a second signal to force the shutdown.
2026-09-18 13:51:49,328 1 INFO job_345c135aef63 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connectionsProvenance: __manifest__.py sha256 f6f23994bc53945d… · tree of 63 files without the manifest, sha256 3731f6495fbba910…
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 module’s code on 19.0
| Lines of code | python 1 516 · xml 295 · js 77 |
| Tests | yes: 8 file(s), 791 lines |
| Migration scripts | no |
| Models | 2 new · 3 extensions |
| JavaScript | 1 file(s) |
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 0d6818a6b957.
Depends on
| Module | Status | Checked |
|---|---|---|
| base_report_to_printer | ✓Installs | 2026-10-02 |
External dependencies
Checked against modidx/odoo:19.0-deps-20260922.
| Kind | Package | In our image |
|---|---|---|
| python | pycups | NOT in image |
Depended on by
1 module on 19.0 declares this one as a dependency.
History
| Last change | 2026-03-16 |
| Code commits, 12 months | 2 |
| Most active | Emanuel Cino, Miquel Alzanillas |
| Files | 64 |
Translation and bot commits are excluded from the commit count.
Install log 19.0
2026-08-26 19:29:33,446 1 WARNING job_f25245bfad98 odoo.modules.loading: Transient module states were reset
2026-08-26 19:29:33,447 1 ERROR job_f25245bfad98 odoo.registry: Failed to load registry
2026-08-26 19:29:33,447 1 CRITICAL job_f25245bfad98 odoo.service.server: Failed to initialize database `job_f25245bfad98`.
Traceback (most recent call last):
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 397, in from_name
return next(cls.discover(name=name))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
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 601, in check_python_external_dependency
version = importlib.metadata.version(requirement.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 889, in version
return distribution(distribution_name).version
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 862, in distribution
return Distribution.from_name(distribution_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 399, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: No package metadata was found for pycups
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 356, in check_external_dependencies
manifest.check_manifest_dependencies()
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 258, in check_manifest_dependencies
check_python_external_dependency(pydep)
File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 611, in check_python_external_dependency
raise MissingDependency(msg, pydep) from e
odoo.modules.module.MissingDependency: External dependency 'pycups' not installed: No package metadata was found for pycups
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 434, in load_modules
modules.button_install()
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 72, 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 404, in _state_update
self.check_external_dependencies(module.name, newstate)
File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 376, in check_external_dependencies
raise UserError(msg) from e
odoo.exceptions.UserError: Unable to install module "base_report_to_printer_cups" because an external dependency is not met: pycupsResult looks wrong? Tell us — we will show the log or run it again. Report a wrong result