Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
6cd5679312 | ||
|
72bf3cb5f0 |
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Git Project Task Connector",
|
"name": "Git Project Task Connector",
|
||||||
"version": "14.0.0.0.0",
|
"version": "13.0.1.1.0",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"maintainer": "False",
|
"maintainer": "False",
|
||||||
"website": "False",
|
"website": "False",
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -17,9 +17,5 @@ class GitRepository(models.Model):
|
|||||||
@api.depends("owner", "name")
|
@api.depends("owner", "name")
|
||||||
def _compute_displayed_name(self):
|
def _compute_displayed_name(self):
|
||||||
for record in self:
|
for record in self:
|
||||||
displayed_name = []
|
if record.name and record.owner:
|
||||||
if record.owner:
|
record.displayed_name = record.owner + "/" + record.name
|
||||||
displayed_name.append(record.owner)
|
|
||||||
if record.name:
|
|
||||||
displayed_name.append(record.name)
|
|
||||||
record.displayed_name = '/'.join(displayed_name)
|
|
||||||
|
@@ -5,7 +5,3 @@ access_git_repo_user,git.repo.user,dev_git_project_task_connector.model_git_repo
|
|||||||
access_git_repo_manager,git.repo.manager,dev_git_project_task_connector.model_git_repo,project.group_project_manager,1,1,1,1
|
access_git_repo_manager,git.repo.manager,dev_git_project_task_connector.model_git_repo,project.group_project_manager,1,1,1,1
|
||||||
access_git_platform_user,git.platform.user,dev_git_project_task_connector.model_git_platform,project.group_project_user,1,0,0,0
|
access_git_platform_user,git.platform.user,dev_git_project_task_connector.model_git_platform,project.group_project_user,1,0,0,0
|
||||||
access_git_platform_manager,git.platform.manager,dev_git_project_task_connector.model_git_platform,project.group_project_manager,1,1,1,1
|
access_git_platform_manager,git.platform.manager,dev_git_project_task_connector.model_git_platform,project.group_project_manager,1,1,1,1
|
||||||
access_create_git_issue_user,create.git.issue.user,dev_git_project_task_connector.model_create_git_issue,project.group_project_user,1,0,0,0
|
|
||||||
access_create_git_issue_manager,create.git.issue.manager,dev_git_project_task_connector.model_create_git_issue,project.group_project_manager,1,1,1,1
|
|
||||||
access_link_git_issue_user,link.git.issue.user,dev_git_project_task_connector.model_link_git_issue,project.group_project_user,1,0,0,0
|
|
||||||
access_link_git_issue_manager,link.git.issue.manager,dev_git_project_task_connector.model_link_git_issue,project.group_project_manager,1,1,1,1
|
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Github Odoo Connector",
|
"name": "Github Odoo Connector",
|
||||||
"version": "14.0.0.0.0",
|
"version": "13.0.1.2.0",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"maintainer": "False",
|
"maintainer": "False",
|
||||||
"website": "False",
|
"website": "False",
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -6,4 +6,4 @@ from odoo import models, fields
|
|||||||
class GitPlatform(models.Model):
|
class GitPlatform(models.Model):
|
||||||
_inherit = "git.platform"
|
_inherit = "git.platform"
|
||||||
|
|
||||||
tool = fields.Selection(selection_add=[("github", "Github")], ondelete={'github':'cascade'})
|
tool = fields.Selection(selection_add=[("github", "Github")])
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user