Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8d4a94706a |
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
"name": "Git Project Task Connector",
|
"name": "Git Project Task Connector",
|
||||||
"version": "12.0.1.1.0",
|
"version": "14.0.0.0.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.
@@ -14,9 +14,12 @@ class GitRepository(models.Model):
|
|||||||
string="Displayed name", compute="_compute_displayed_name"
|
string="Displayed name", compute="_compute_displayed_name"
|
||||||
)
|
)
|
||||||
|
|
||||||
@api.multi
|
|
||||||
@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:
|
||||||
if record.name and record.owner:
|
displayed_name = []
|
||||||
record.displayed_name = record.owner + "/" + record.name
|
if record.owner:
|
||||||
|
displayed_name.append(record.owner)
|
||||||
|
if record.name:
|
||||||
|
displayed_name.append(record.name)
|
||||||
|
record.displayed_name = '/'.join(displayed_name)
|
||||||
|
@@ -4,4 +4,8 @@ access_git_issue_manager,git.issue.manager,dev_git_project_task_connector.model_
|
|||||||
access_git_repo_user,git.repo.user,dev_git_project_task_connector.model_git_repo,project.group_project_user,1,0,0,0
|
access_git_repo_user,git.repo.user,dev_git_project_task_connector.model_git_repo,project.group_project_user,1,0,0,0
|
||||||
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": "12.0.1.2.0",
|
"version": "14.0.0.0.0",
|
||||||
"author": "Elabore",
|
"author": "Elabore",
|
||||||
"maintainer": "False",
|
"maintainer": "False",
|
||||||
"website": "False",
|
"website": "False",
|
||||||
|
BIN
dev_github_connector/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
dev_github_connector/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
BIN
dev_github_connector/models/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
dev_github_connector/models/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
BIN
dev_github_connector/models/__pycache__/company.cpython-38.pyc
Normal file
BIN
dev_github_connector/models/__pycache__/company.cpython-38.pyc
Normal file
Binary file not shown.
BIN
dev_github_connector/models/__pycache__/git_issue.cpython-38.pyc
Normal file
BIN
dev_github_connector/models/__pycache__/git_issue.cpython-38.pyc
Normal file
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")])
|
tool = fields.Selection(selection_add=[("github", "Github")], ondelete={'github':'cascade'})
|
||||||
|
BIN
dev_github_connector/wizard/__pycache__/__init__.cpython-38.pyc
Normal file
BIN
dev_github_connector/wizard/__pycache__/__init__.cpython-38.pyc
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user