Repository
OCA/oca-custom · module folder · Try on Runboat
Module version
1.0.1
Category
Custom
Folder size
0.06 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/oca-custom
Last tracking update
2026-08-07 08:43:00
Authors
Akretion, Odoo Community Association (OCA)
Maintainers
Akretion, Odoo Community Association (OCA)
Committers
GitHub, Sébastien BEAU, OCA-git-bot, oca-ci
Odoo dependencies
OCA/version-control-platform:
odoo/odoo:
Python dependencies
pypandoc, pathspec, github3.py, markdown, GitPython
System dependencies
cloc
Required by
oca_membership, oca_vcp_sponsor
Description
# OCA VCP Customization

Module extending VCP for OCA-specific needs.

## Features

**Repositories**
- Add categories to repositories

**Odoo Modules**
- `must_have` flag on modules
- Extract and store README fragments and convert them to markdown
- Extract icon URLs

**Partners/Contributors**
- Add GitHub tab with main login and avatar sync option
- Compute OCA collaboration index
- Support organization history for accurate contribution attribution

**Contributions**
- Reviews and comments use contributor's organization (not PR opener's)

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
vcp_odoo_module_view_form vcp.odoo.module form Inherits vcp_odoo.vcp_odoo_module_form_view
vcp_repository_category_view_form vcp.repository.category form New
vcp_repository_category_view_list vcp.repository.category list New
vcp_repository_category_view_search vcp.repository.category search New
vcp_repository_form_view vcp.repository form Inherits vcp_management.vcp_repository_form_view
vcp_repository_search_view vcp.repository search Inherits vcp_management.vcp_repository_search_view
vcp_repository_tree_view vcp.repository tree Inherits vcp_management.vcp_repository_tree_view
view_partner_form res.partner form Inherits base.view_partner_form
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (10)

New fields (6)
  • current_organization_id Many2one → res.partner
    compute='_compute_current_organization_id' store=True args: 'res.partner'
  • github_main_login Char
    compute='_compute_github_main_login' compute_sudo=True inverse='_inverse_github_info'
  • github_sync_avatar Boolean
    compute='_compute_github_sync_avatar' compute_sudo=True inverse='_inverse_github_info'
  • oca_collaboration_index Integer
    compute='_compute_oca_collaboration_index' compute_sudo=True help='This index is based on the last 12 Months. Moving Annual Total (MAT)' args: 'OCA collaboration index'
  • organization_history_ids One2many → vcp.organization.history
    args: 'vcp.organization.history', 'partner_id'
  • organization_member_ids One2many → res.partner
    args: 'res.partner', 'current_organization_id'
Public methods (0)

No public methods.

New fields (1)
  • partner_organization_id Many2one → res.partner
    compute='_compute_partner_organization_id' help='The organization related to the user that have done the comment' related=False store=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (1)
  • must_have Boolean
Public methods (0)

No public methods.

New fields (2)
  • icon_url Char
  • readme_fragments Json
Public methods (0)

No public methods.

New fields (3)
  • date_start Date
    required=True
  • partner_id Many2one → res.partner
    required=True args: 'res.partner'
  • partner_organization_id Many2one → res.partner
    required=True args: 'res.partner', 'Organization'
Public methods (0)

No public methods.

New fields (1)
  • category_id Many2one → vcp.repository.category
    args: 'vcp.repository.category'
Public methods (0)

No public methods.

New fields (4)
  • description Text
  • name Char
  • repository_ids One2many → vcp.repository
    readonly=True args: 'vcp.repository', 'category_id', 'Repositories'
  • short_description Text
Public methods (0)

No public methods.

New fields (1)
  • partner_organization_id Many2one → res.partner
    compute='_compute_partner_organization_id' help='The organization related to the user that have done the review' related=False store=True args: 'res.partner'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • is_github_main_login Boolean
Public methods (0)

No public methods.