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

printer_zpl2

en report-print-send · código en GitHub

Add a ZPL II label printing feature

Categoría: Printer · SUBTENO-IT · FLorent de Labarre · Apertoso NV · AGPL-3

16.0~Problema del entorno
17.0~Problema del entorno
18.0~Problema del entorno
19.0×Not in this series
SerieEstadoDetallesCódigo
16.0~Problema del entornoExternal Python package missing: pycups · ejecutado el 2026-09-02en GitHub
17.0~Problema del entornoExternal Python package missing: pycups · ejecutado el 2026-08-26en GitHub
18.0~Problema del entornoExternal Python package missing: pycups · ejecutado el 2026-09-01en GitHub
19.0Sin probarsin rama

The module’s code on 18.0

Lines of codepython 3.345 · xml 434
Testsyes: 5 file(s), 1.441 lines
Migration scriptsno
Models5 new · 0 extensions
Raw SQL1 × 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 497c0131befe.

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

Depende de

MóduloEstadoComprobado
base_report_to_printer~Problema del entorno2026-08-26

Historial

Último cambio2026-01-22
Commits de código, 12 meses2
Más activosFlorent de Labarre, Pedro M. Baeza, Maxime Chambreuil
Archivos53

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

Registro de instalación 18.0

2026-09-01 04:04:37,669 1 INFO job_52cafdb6ed75 odoo.modules.loading: updating modules list 
2026-09-01 04:04:37,674 1 INFO job_52cafdb6ed75 odoo.addons.base.models.ir_module: ALLOW access to module.update_list on [] to user __system__ #1 via n/a 
2026-09-01 04:05:20,556 1 INFO job_52cafdb6ed75 odoo.addons.base.models.ir_module: ALLOW access to module.button_install on ['Printer ZPL II'] to user __system__ #1 via n/a 
2026-09-01 04:05:20,615 1 WARNING job_52cafdb6ed75 odoo.modules.loading: Transient module states were reset 
2026-09-01 04:05:20,616 1 ERROR job_52cafdb6ed75 odoo.modules.registry: Failed to load registry 
2026-09-01 04:05:20,616 1 CRITICAL job_52cafdb6ed75 odoo.service.server: Failed to initialize database `job_52cafdb6ed75`. 
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 485, 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 367, in check_external_dependencies
    modules.check_manifest_dependencies(terp)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 506, in check_manifest_dependencies
    check_python_external_dependency(pydep)
  File "/usr/lib/python3/dist-packages/odoo/modules/module.py", line 495, in check_python_external_dependency
    raise Exception(msg) from e
Exception: External dependency pycups not installed: No package metadata was found for pycups

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 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 456, in load_modules
    modules.button_install()
  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/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 434, in button_install
    modules._state_update('to install', ['uninstalled'])
  File "/usr/lib/python3/dist-packages/odoo/addons/base/models/ir_module.py", line 403, 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 409, 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 "base_report_to_printer" because an external dependency is not met: External dependency pycups not installed: No package metadata was found for pycups
2026-09-01 04:05:20,624 1 INFO job_52cafdb6ed75 odoo.service.server: Initiating shutdown 
2026-09-01 04:05:20,624 1 INFO job_52cafdb6ed75 odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-09-01 04:05:20,625 1 INFO job_52cafdb6ed75 odoo.sql_db: ConnectionPool(read/write;used=0/count=0/max=64): Closed 1 connections

Registro de instalación 17.0

  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 "base_report_to_printer" because an external dependency is not met: Python library not installed: pycups
2026-08-26 21:59:33,247 1 CRITICAL job_8db13caca351 odoo.service.server: Failed to initialize database `job_8db13caca351`. 
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 'pycups' 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 'pycups'

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: pycups

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 "base_report_to_printer" because an external dependency is not met: Python library not installed: pycups

Registro de instalación 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 "base_report_to_printer" because an external dependency is not met: Python library not installed: pycups
2026-09-02 03:39:47,535 1 CRITICAL job_23754117856e odoo.service.server: Failed to initialize database `job_23754117856e`. 
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 'pycups' 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 'pycups'

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: pycups

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 "base_report_to_printer" because an external dependency is not met: Python library not installed: pycups
2026-09-02 03:39:47,538 1 INFO job_23754117856e odoo.service.server: Initiating shutdown 
2026-09-02 03:39:47,538 1 INFO job_23754117856e odoo.service.server: Hit CTRL-C again or send a second signal to force the shutdown. 
2026-09-02 03:39:47,538 1 INFO job_23754117856e odoo.sql_db: ConnectionPool(used=0/count=0/max=64): Closed 1 connections

¿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-17 00: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.