Github Connector - Odoo
github_connector_odoo · OCA/interface-git
-
Security25/25No findings
-
Activity20/25Last human commit 8 months ago
-
Required by5/250 modules depend on it
-
Maturity25/25In 9 Odoo series since 10.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
OdooLicense— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · sourceodoo.module.version.rule.info.report— Model 'odoo.module.version.rule.info.report' has `_auto = False` and its init() (re)creates a SQL VIEW: the standard reporting-model pattern, but its raw SQL isn't checked by the ORM - verify it against renamed/removed tables and columns in the target version. migration-sql-view
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module was written to extend the functionality of 'Github Connector' Module if your repositories contain Odoo Modules.
It extends 'Analysis' features to parse code files (readme / manifest files) and add new models and menus.

Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 31
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
action_odoo_module_version_rule_info_report_graph |
odoo.module.version.rule.info.report | graph | New | |
action_odoo_module_version_rule_info_report_pivot |
odoo.module.version.rule.info.report | pivot | New | |
odoo_module_version_rule_info_tree |
odoo.module.version.rule.info | list | New | |
view_github_analysis_rule_form |
github.analysis.rule | form | Inherits github_connector.view_github_analysis_rule_form | |
view_github_organization_form |
github.organization | form | Inherits github_connector.view_github_organization_form | |
view_github_repository_branch_form |
github.repository.branch | form | Inherits github_connector.view_github_repository_branch_form | |
view_github_repository_branch_kanban |
github.repository.branch | kanban | Inherits github_connector.view_github_repository_branch_kanban | |
view_github_repository_branch_tree |
github.repository.branch | tree | Inherits github_connector.view_github_repository_branch_tree | |
view_github_repository_form |
github.repository | form | Inherits github_connector.view_github_repository_form | |
view_oca_author_form |
odoo.author | form | New | |
view_odoo_author_search |
odoo.author | search | New | |
view_odoo_author_tree |
odoo.author | list | New | |
view_odoo_lib_bin_form |
odoo.lib.bin | form | New | |
view_odoo_lib_bin_search |
odoo.lib.bin | search | New | |
view_odoo_lib_bin_tree |
odoo.lib.bin | list | New | |
view_odoo_lib_python_form |
odoo.lib.python | form | New | |
view_odoo_lib_python_search |
odoo.lib.python | search | New | |
view_odoo_lib_python_tree |
odoo.lib.python | list | New | |
view_odoo_license_form |
odoo.license | form | New | |
view_odoo_license_kanban |
odoo.license | kanban | New | |
view_odoo_license_search |
odoo.license | search | New | |
view_odoo_license_tree |
odoo.license | list | New | |
view_odoo_module_form |
odoo.module | form | New | |
view_odoo_module_kanban |
odoo.module | kanban | New | |
view_odoo_module_search |
odoo.module | search | New | |
view_odoo_module_tree |
odoo.module | list | New | |
view_odoo_module_version_by_serie_graph |
odoo.module.version | graph | New | |
view_odoo_module_version_form |
odoo.module.version | form | New | |
view_odoo_module_version_kanban |
odoo.module.version | kanban | New | |
view_odoo_module_version_search |
odoo.module.version | search | New | |
view_odoo_module_version_tree |
odoo.module.version | list | New |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 15
No new fields.
Public methods (1)-
action_open(self)
-
has_odoo_addonsBooleanstring='Has odoo addons?' -
manifest_key_idsMany2many → odoo.manifest.keycomodel_name='odoo.manifest.key'string='Manifest keys'
No public methods.
-
default_author_textChar -
runbot_parse_urlCharstring='URL For Runbot Ids' -
runbot_url_patternCharstring='Runbot URL Pattern'
No public methods.
-
runbot_id_externalIntegercompute='_compute_runbot_id_external'readonly=Truestore=Truestring='ID For Runbot'
No public methods.
-
module_pathsTexthelp='Set here extra relative paths you want to scan to find modules. If not set, root path will be scanned. One repository per line. Example:\n./addons/\n./openerp/addons/' -
module_version_analysis_rule_info_idsMany2many → odoo.module.version.rule.infocolumn1='repository_branch_id'column2='module_version_id'comodel_name='odoo.module.version.rule.info'compute='_compute_module_version_analysis_rule_info_ids'readonly=Truerelation='rule_info_module_version_rel'string='Analysis Rule Info ids (module version)' -
module_version_idsOne2many → odoo.module.versioncomodel_name='odoo.module.version'inverse_name='repository_branch_id'string='Module Versions' -
module_version_qtyIntegercompute='_compute_module_version_qty'string='Number of Module Versions' -
runbot_urlCharcompute='_compute_runbot_url'string='Runbot URL'
-
analyze_code_one(self) -
listdir(self, directory)
-
module_idsMany2many → odoo.modulecolumn1='author_id'column2='module_id'comodel_name='odoo.module'readonly=Truerelation='github_module_author_rel'string='Modules' -
module_qtyIntegercompute='_compute_module_qty'store=Truestring='Number of Modules' -
module_version_idsMany2many → odoo.module.versioncolumn1='author_id'column2='module_version_id'comodel_name='odoo.module.version'readonly=Truerelation='github_module_version_author_rel'string='Module Versions' -
nameCharindex=Truereadonly=Truestore=True
-
create_if_not_exist(self, name)@api.model
-
nameChar
No public methods.
-
module_version_idsMany2many → odoo.module.versioncolumn1='lib_bin_id'column2='module_version_id'comodel_name='odoo.module.version'readonly=Truerelation='module_version_lib_bin_rel'string='Module Versions' -
module_version_qtyIntegercompute='_compute_module_version_qty'store=Truestring='Number of Module Versions' -
nameCharindex=Truereadonly=Truerequired=True
-
create_if_not_exist(self, name)@api.model
-
module_version_idsMany2many → odoo.module.versioncolumn1='lib_python_id'column2='module_version_id'comodel_name='odoo.module.version'readonly=Truerelation='module_version_lib_python_rel'string='Module Versions' -
module_version_qtyIntegercompute='_compute_module_version_qty'store=Truestring='Number of Module Versions' -
nameCharindex=Truereadonly=Truerequired=True
-
create_if_not_exist(self, name)@api.model
-
activeBooleandefault=True -
descriptionText -
imageBinaryattachment=Truestring='Icon Image' -
module_version_idsOne2many → odoo.module.versioncomodel_name='odoo.module.version'inverse_name='license_id'string='Module Versions' -
module_version_qtyIntegercompute='_compute_module_version_qty'store=Truestring='Number of Module Versions' -
nameCharindex=Truereadonly=Truerequired=True -
websiteChar
-
create_if_not_exist(self, name)@api.model
-
nameChar
-
create_if_not_exist(self, name)@api.model
-
author_idsMany2many → odoo.authorcolumn1='module_id'column2='author_id'comodel_name='odoo.author'compute='_compute_author'relation='github_module_author_rel'store=Truestring='Authors' -
author_ids_descriptionCharcompute='_compute_author'store=Truestring='Authors (Text)' -
dependence_module_version_idsMany2many → odoo.module.versioncolumn1='dependency_module_id'column2='module_version_id'comodel_name='odoo.module.version'relation='module_version_dependency_rel'string='Module Versions that depend on this module' -
dependence_module_version_qtyIntegercompute='_compute_dependence_module_version_qty'store=Truestring='Number of Module Versions that depend on this module' -
description_rstCharcompute='_compute_description'readonly=Truestore=Truestring='RST Description of the last Version' -
description_rst_htmlHtmlcompute='_compute_description'readonly=Truestore=Truestring='HTML of the RST Description of the last Version' -
imageBinaryattachment=Truecompute='_compute_image'store=Truestring='Icon Image' -
maintainersCharcompute='_compute_maintainers'store=Truestring='Maintainers (Manifest)' -
module_version_idsOne2many → odoo.module.versioncomodel_name='odoo.module.version'inverse_name='module_id'readonly=Truestring='Versions' -
module_version_qtyIntegercompute='_compute_module_version_qty'store=Truestring='Number of Module Versions' -
nameCharcompute='_compute_name'readonly=Truestore=True -
organization_serie_idsMany2many → github.organization.seriecolumn1='module_id'column2='organization_serie_id'comodel_name='github.organization.serie'compute='_compute_organization_serie'relation='github_module_organization_serie_rel'store=Truestring='Series' -
organization_serie_ids_descriptionCharcompute='_compute_organization_serie'store=Truestring='Series (Text)' -
technical_nameCharindex=Truereadonly=Truerequired=True
-
create_if_not_exist(self, technical_name)@api.model
-
analysis_rule_info_idsOne2many → odoo.module.version.rule.infocomodel_name='odoo.module.version.rule.info'inverse_name='module_version_id'readonly=Truestring='Analysis Rule Info ids' -
authorCharreadonly=Truestring='Author (Manifest)' -
author_idsMany2many → odoo.authorcolumn1='module_version_id'column2='author_id'comodel_name='odoo.author'compute='_compute_author'relation='github_module_version_author_rel'store=Truestring='Authors' -
author_ids_descriptionCharcompute='_compute_author'store=Truestring='Authors (Text)' -
auto_installBooleanreadonly=True -
category_idMany2one → odoo.categorycomodel_name='odoo.category'readonly=Truestring='Category' -
complete_nameCharcompute='_compute_complete_name'store=True -
dependency_module_idsMany2many → odoo.modulecolumn1='module_version_id'column2='dependency_module_id'comodel_name='odoo.module'compute='_compute_dependency_module_ids'relation='module_version_dependency_rel'store=Truestring='Dependencies' -
dependsCharreadonly=Truestring='Dependencies (Manifest)' -
description_rstCharreadonly=Truestring='RST Description (Manifest)' -
description_rst_htmlHtmlcompute='_compute_description_rst_html'readonly=Truestore=Truestring='HTML the RST Description' -
external_dependenciesCharreadonly=Truestring='External Dependencies (Manifest)' -
full_module_pathCharstring='Full Local Path to the module' -
github_urlCharcompute='_compute_github_url'readonly=Truestore=Truestring='Github URL' -
iconCharreadonly=Truestring='Icon Path (Manifest)' -
imageBinaryattachment=Truereadonly=Truestring='Icon Image' -
lib_bin_idsMany2many → odoo.lib.bincolumn1='module_version_id'column2='lib_bin_id'comodel_name='odoo.lib.bin'compute='_compute_lib'relation='module_version_lib_bin_rel'store=Truestring='Bin Lib Dependencies' -
lib_bin_ids_descriptionCharcompute='_compute_lib'store=Truestring='Bin Lib Dependencies (Text)' -
lib_python_idsMany2many → odoo.lib.pythoncolumn1='module_version_id'column2='lib_python_id'comodel_name='odoo.lib.python'compute='_compute_lib'relation='module_version_lib_python_rel'store=Truestring='Python Lib Dependencies' -
lib_python_ids_descriptionCharcompute='_compute_lib'store=Truestring='Python Lib Dependencies (Text)' -
licenseCharreadonly=Truestring='License (Manifest)' -
license_idMany2one → odoo.licensecomodel_name='odoo.license'compute='_compute_license_id'readonly=Truestore=Truestring='License' -
maintainersCharreadonly=Truestring='Maintainers (Manifest)' -
manifest_key_idsMany2many → odoo.manifest.keycomodel_name='odoo.manifest.key'compute='_compute_manifest_key_ids'store=Truestring='Manifest keys' -
manifest_keysCharreadonly=Truestring='Manifest keys (Manifest)' -
module_idMany2one → odoo.moduleauto_join=Truecomodel_name='odoo.module'index=Trueondelete='cascade'readonly=Truerequired=Truestring='Module' -
nameCharindex=Truereadonly=True -
odoo_typeSelectioncompute='_compute_odoo_type'selection=_ODOO_TYPE_SELECTIONstore=True -
organization_serie_idMany2one → github.organization.seriecomodel_name='github.organization.serie'compute='_compute_organization_serie_id'readonly=Truestore=Truestring='Organization Serie' -
repository_branch_idMany2one → github.repository.branchcomodel_name='github.repository.branch'ondelete='cascade'readonly=Truerequired=Truestring='Repository Branch' -
repository_idMany2one → github.repositorycomodel_name='github.repository'readonly=Truerelated='repository_branch_id.repository_id'store=Truestring='Repository' -
summaryCharreadonly=Truestring='Summary (Manifest)' -
technical_nameCharhelp='Technical Name of the Module (Folder name).'index=Truereadonly=True -
versionCharreadonly=Truestring='Version (Manifest)' -
websiteCharreadonly=Truestring='Website (Manifest)'
-
clean_odoo_module_version(self) -
create_or_update_from_manifest(self, info, repository_branch, full_module_path)@api.model -
cron_clean_odoo_module_version(self)@api.model -
get_module_category(self, info)@api.modelUsed to search the category of the module by the data given on the manifest. :param dict info: The parsed dictionary with the manifest data. :returns: recordset of the given category if exists. -
manifest_2_odoo(self, info, repository_branch, module)@api.model -
unlink(self)
-
module_version_idMany2one → odoo.module.versioncomodel_name='odoo.module.version'ondelete='cascade'string='Module Version' -
repository_branch_idMany2one → github.repository.branchcomodel_name='github.repository.branch'ondelete='cascade'string='Repository Branch'
No public methods.
-
analysis_rule_idMany2one → github.analysis.rulecomodel_name='github.analysis.rule'string='Analysis Rule id' -
code_countInteger -
documentation_countInteger -
empty_countInteger -
group_idMany2one → github.analysis.rule.groupcomodel_name='github.analysis.rule.group'string='Group id' -
module_version_idMany2one → odoo.module.versioncomodel_name='odoo.module.version'string='Module Version' -
module_version_nameCharstring='Module Version name' -
organization_serie_idMany2one → github.organization.seriecomodel_name='github.organization.serie'string='Organization serie' -
repository_branch_idMany2one → github.repository.branchcomodel_name='github.repository.branch'string='Repository Branch' -
scanned_filesInteger -
total_countInteger
-
init(self)
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…