[IMP]project_*: Improvement in model description
Purpose of this commit is to give description more "business oriented" because those descriptions appears in Odoo Studio which is supposed to be used by end users, not only by developers. Related Task ID : 37311
This commit is contained in:
committed by
Yannick Tivisse
parent
d356e8dbe6
commit
7046479365
@@ -7,6 +7,7 @@ from odoo import api, fields, models
|
||||
class ProjectTask(models.Model):
|
||||
_name = "project.task"
|
||||
_inherit = ["project.task", 'pad.common']
|
||||
_description = 'Task'
|
||||
|
||||
description_pad = fields.Char('Pad URL', pad_content_field='description', copy=False)
|
||||
use_pad = fields.Boolean(related="project_id.use_pads", string="Use collaborative pad", readonly=True)
|
||||
|
||||
@@ -963,7 +963,7 @@ class Task(models.Model):
|
||||
class ProjectTags(models.Model):
|
||||
""" Tags of project's tasks """
|
||||
_name = "project.tags"
|
||||
_description = "Tasks Tags"
|
||||
_description = "Project Tags"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
color = fields.Integer(string='Color Index')
|
||||
|
||||
@@ -6,7 +6,7 @@ from odoo import fields, models, tools
|
||||
|
||||
class ReportProjectTaskUser(models.Model):
|
||||
_name = "report.project.task.user"
|
||||
_description = "Tasks by user and project"
|
||||
_description = "Tasks Analysis"
|
||||
_order = 'name desc, project_id'
|
||||
_auto = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user