l10n_py_edi_base
in l10n-paraguay · source on GitHub
Base module for Electronic Invoicing in Paraguay
Category: Accounting/Localizations/EDI · KMEE · LGPL-3
| Series | Status | Details | Code |
|---|---|---|---|
| 16.0 | ~Environment problem | External Python package missing: pykude · run 2026-08-26 | on GitHub |
| 17.0 | —Not tested | no branch | |
| 18.0 | ✓Installs | · run 2026-08-20 · 18.0.1.0.0 | on GitHub |
| 19.0 | —Not tested | no branch | |
| 20.0 | —Not tested | no branch |
The module’s code on 18.0
| Lines of code | python 5 013 · xml 1 727 |
| Tests | yes: 9 file(s), 1 992 lines |
| Migration scripts | no |
| Models | 11 new · 3 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 30724ffdf2aa.
Depends on
| Module | Status | Checked |
|---|---|---|
| account | core | ships with Odoo |
| l10n_py_account | ✓Installs | 2026-08-20 |
| l10n_py_base | ✓Installs | 2026-08-20 |
| product | core | ships with Odoo |
External dependencies
Checked against modidx/odoo:18.0-deps-20260820.
| Kind | Package | In our image |
|---|---|---|
| python | qrcode | in image |
| python | requests | in image |
| python | cryptography | in image |
| python | pykude | in image |
Depended on by
1 module on 18.0 declares this one as a dependency.
History
| Last change | 2026-07-21 |
| Code commits, 12 months | 1 |
| Most active | André Marcos Ferreira |
| Files | 63 |
Translation and bot commits are excluded from the commit count.
Install log 16.0
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_py_edi_base" because an external dependency is not met: Python library not installed: pykude
2026-08-26 22:28:56,327 1 CRITICAL job_f80aaffcaa31 odoo.service.server: Failed to initialize database `job_f80aaffcaa31`.
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 'pykude' 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 'pykude'
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: pykude
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 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_py_edi_base" because an external dependency is not met: Python library not installed: pykudeResult looks wrong? Tell us — we will show the log or run it again. Report a wrong result