Skip to content

Commit

Permalink
Merge PR OCA#1021 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by alexey-pelykh
  • Loading branch information
OCA-git-bot committed Nov 4, 2022
2 parents e65c109 + c5ec4d2 commit dd466e8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 1 addition & 2 deletions project_role/models/project_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ class ProjectRole(models.Model):
copy=True,
)
complete_name = fields.Char(
compute="_compute_complete_name",
store=True,
compute="_compute_complete_name", store=True, recursive=True
)
name = fields.Char(
translate=True,
Expand Down
4 changes: 3 additions & 1 deletion project_type/models/project_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ class ProjectType(models.Model):
comodel_name="project.type", inverse_name="parent_id", string="Subtypes"
)
name = fields.Char(required=True, translate=True)
complete_name = fields.Char(compute="_compute_complete_name", store=True)
complete_name = fields.Char(
compute="_compute_complete_name", store=True, recursive=True
)
description = fields.Text(translate=True)
project_ok = fields.Boolean(string="Can be applied for projects", default=True)
task_ok = fields.Boolean(string="Can be applied for tasks")
Expand Down

0 comments on commit dd466e8

Please sign in to comment.