summaryrefslogtreecommitdiff
path: root/addons/pad_project/models
diff options
context:
space:
mode:
authorNimesh Jethva <nje@odoo.com>2018-09-17 17:25:19 +0530
committerYannick Tivisse <yti@odoo.com>2018-09-21 11:45:15 +0200
commit70464793655bd123e24b79d6ec00ea404e5f6c9a (patch)
treee473416a3a2355761221f044a56ae4be5b08fa37 /addons/pad_project/models
parentd356e8dbe636f7d6f0f8c28a825a605f34a13d92 (diff)
[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
Diffstat (limited to 'addons/pad_project/models')
-rw-r--r--addons/pad_project/models/project.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/addons/pad_project/models/project.py b/addons/pad_project/models/project.py
index 6d2273b15dd..e3f1907b959 100644
--- a/addons/pad_project/models/project.py
+++ b/addons/pad_project/models/project.py
@@ -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)