Odoo Mindscape. Understand Odoo faster. Explore modules, fields, dependencies and version differences in one place instead of digging through the source code.
Module: Github Connector
Entity: github.repository.branch
Compute Method: _compute_local_path
| Inputs | Method | Outputs |
|---|---|---|
|
source_path = self._get_source_path()
if not source_path and not tools.config["test_enable"]:
raise exceptions.UserError(
- _(
+ self.env._(
"source_code_local_path should be defined in your "
" configuration file"
)
)
for branch in self:
branch.local_path = os.path.join(
source_path, branch.organization_id.github_name, branch.complete_name
)
|
|
