Browse Source

Sep 24: [FIX] Bug Fixed 'project_tasks_from_templates'

pull/254/merge
Cybrosys Technologies 7 months ago
parent
commit
1174014fd1
  1. 2
      project_tasks_from_templates/__manifest__.py
  2. 6
      project_tasks_from_templates/doc/RELEASE_NOTES.md
  3. 9
      project_tasks_from_templates/models/project_task_template.py

2
project_tasks_from_templates/__manifest__.py

@ -21,7 +21,7 @@
###############################################################################
{
'name': 'Project Templates',
'version': '15.0.1.0.0',
'version': '15.0.1.0.1',
'category': "Project",
'summary': "This app allows your project team to create project"
"template and task template",

6
project_tasks_from_templates/doc/RELEASE_NOTES.md

@ -1,5 +1,11 @@
## Module <project_tasks_from_templates>
#### 09.01.2024
#### Version 15.0.1.0.0
#### ADD
- Initial Commit for Project Templates
#### 23.09.2024
#### Version 15.0.1.0.1
##### UPDT
- Bug Fix-Resolved the duplicate issues.

9
project_tasks_from_templates/models/project_task_template.py

@ -28,15 +28,15 @@ class ProjectTaskTemplate(models.Model):
_description = 'Project Task Template'
name = fields.Char(string='Template Name', translate=True,
help='Name for the task template.')
help='Name for the task template.', copy=False)
task_ids = fields.One2many(
'project.task.custom', 'project_template_id',
string='Tasks',
help='List of the tasks associated with this template.')
help='List of the tasks associated with this template.', copy=True)
stage_ids = fields.One2many(
'project.stage', 'project_template_id',
string='Stages',
help='List of the stages associated with this template.')
help='List of the stages associated with this template.', copy=True)
class ProjectStage(models.Model):
@ -54,7 +54,8 @@ class ProjectStage(models.Model):
'project.task.custom',
help='Choose the tasks corresponding to each stage')
sequence = fields.Integer(related="project_stage_id.sequence",readonly=False)
sequence = fields.Integer(related="project_stage_id.sequence",
readonly=False)
class ProjectTaskType(models.Model):

Loading…
Cancel
Save