erplibre/script/odoo/util/show_installed_module.py

13 lines
316 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
# © 2021-2026 TechnoLibre (http://www.technolibre.ca)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl)
2026-03-13 15:04:14 -04:00
installed_modules = env["ir.module.module"].search(
[("state", "=", "installed")]
)
print("Installed modules:")
for module in installed_modules:
print(module.name)