printing_auto_mrp

in manufacture · source on GitHub

Category: Manufacturing · Camptocamp · BCIM · AGPL-3

16.0×Not in this series
17.0×Not in this series
18.0~Environment problem
19.0×Not in this series
20.0×Not in this series
SeriesStatusDetailsCode
16.0—Not testedno branch
17.0—Not testedno branch
18.0~Environment problemExternal Python package missing: pycups · run 2026-08-26on GitHub
19.0—Not testedno branch
20.0—Not testedno branch

The module’s code on 18.0

Lines of codepython 88 · xml 60
Testsyes: 1 file(s), 47 lines
Migration scriptsno
Models1 new · 1 extensions

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 0ccc3a753dc1.

Depends on

ModuleStatusChecked
mrpcoreships with Odoo
printing_auto_stock_picking~Environment problem2026-09-30

History

Last change2026-04-05
Code commits, 12 months3
Most activeFlorent Xicluna, Jacques-Etienne Baudoux
Files18

Translation and bot commits are excluded from the commit count.

Install log 18.0

Warn: Can't find .pfb for face 'Courier'
2026-08-26 19:26:42,649 1 WARNING job_053f2e2e3ab3 odoo.modules.loading: Transient module states were reset 
2026-08-26 19:26:42,650 1 ERROR job_053f2e2e3ab3 odoo.modules.registry: Failed to load registry 
2026-08-26 19:26:42,650 1 CRITICAL job_053f2e2e3ab3 odoo.service.server: Failed to initialize database `job_053f2e2e3ab3`. 
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 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 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

Result looks wrong? Tell us — we will show the log or run it again. Report a wrong result

Get told when this module changes state

Data updated 2026-10-07 13:00 UTC · build 4aa2dbe · we publish the install log with a date, not a vendor rating · CSV and JSON are open

Questions or a wrong result: open an issue or hello@allservices.one

Privacy · Terms

Independent project. Not affiliated with Odoo S.A. or the Odoo Community Association.