summaryrefslogtreecommitdiff
path: root/addons/pad_project/models
diff options
context:
space:
mode:
authorArnaud Joset <arj@odoo.com>2020-08-12 14:28:24 +0000
committerArnaud Joset <arj@odoo.com>2020-08-13 13:25:22 +0000
commitf2a1a00081fc1b15b97caa967273b198b1846449 (patch)
treebd4e82524585354a7197bd172fb029688aba328a /addons/pad_project/models
parentbb9ae7b08b2b062acec13de4a92737a57be880e2 (diff)
[IMP] hr_timesheet,pad_project,project,rating,sale_timesheet: back2basics project
Multiple UI and UX changes taskid: 2299401
Diffstat (limited to 'addons/pad_project/models')
-rw-r--r--addons/pad_project/models/project.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/pad_project/models/project.py b/addons/pad_project/models/project.py
index 919755b9987..abc0342671a 100644
--- a/addons/pad_project/models/project.py
+++ b/addons/pad_project/models/project.py
@@ -42,8 +42,11 @@ class ProjectTask(models.Model):
class ProjectProject(models.Model):
- _inherit = "project.project"
+ _name = "project.project"
+ _inherit = ["project.project", 'pad.common']
+ _description = 'Project'
+ description_pad = fields.Char('Pad URL', pad_content_field='description', copy=False)
use_pads = fields.Boolean("Use collaborative pads", default=True,
help="Use collaborative pad for the tasks on this project.")