Repository
OCA/module-composition-analysis · module folder · Try on Runboat
Module version
1.0.0
Category
Tools
Folder size
0.17 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/module-composition-analysis
Last tracking update
2026-08-07 08:43:07
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
OCA-git-bot, oca-ci, Francois Poizat
Odoo dependencies
OCA/connector:
OCA/module-composition-analysis:
OCA/queue:
OCA/server-tools:
odoo/odoo:
- web
- bus
Python dependencies
gitpython, odoo-addons-parser, pyyaml, requests, cachetools
System dependencies
None
Required by
None
Description
This module allows to generate CHANGELOGs for repositories used within a project.

Changelogs are generated from `git` commits history, and take as input source
and target references from this repository (a commit SHA, branch, tag...).
Only relevant changes done will be listed to not clutter the changelog
(translations, unit tests or documentation updates won't be listed).

The output is an HTML page where the user can easily navigate, fold and unfold sections.

 ![Changelog](./static/img/changelog.png)

Code Analysis

Views touched (2)
XML IDNameModelTypeStatus
odoo_project_view_form odoo.project.form.inherit odoo.project form Inherits odoo_project.odoo_project_view_form
report_changelog report_changelog ir.ui.view qweb New
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (2)

New fields (4)
  • changelog_enabled_repository_ids One2many → odoo.project.repository
    comodel_name='odoo.project.repository' inverse_name='odoo_project_id' string='Enabled Repositories for CHANGELOG'
  • changelog_state Selection
    copy=False default='none' selection=[('none', 'None'), ('in_progress', 'In progress'), ('done', 'Done')]
  • changelog_url Char
    compute='_compute_changelog_url'
  • used_repository_ids One2many → odoo.project.repository
    comodel_name='odoo.project.repository' context={'active_test': False} inverse_name='odoo_project_id' string='Used Repositories'
Public methods (2)
  • action_generate_changelog(self)
  • action_open_changelog(self)

New fields (6)
  • active Boolean
    default=True string='Include'
  • changelog Serialized
  • deployed_commit Char
    help='The changelog is generated from this commit.'
  • odoo_project_id Many2one → odoo.project
    comodel_name='odoo.project' index=True ondelete='cascade' readonly=True required=True string='Project'
  • repository_branch_id Many2one → odoo.repository.branch
    comodel_name='odoo.repository.branch' index=True ondelete='cascade' required=True string='Repository Branch'
  • target_commit Char
    help='Changelog is generated until this commit. If not set, the latest commit of the branch is used.'
Public methods (1)
  • push_changelog(self, changelog)
    Store the changelog. Called by the scanner.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
22 days ago
Last activity
22 days ago
Repository
OCA/module-composition-analysis
Pull request
[19.0][MIG] odoo_project_changelog (#153)