Skip to content

Commit

Permalink
[ADD] Enable chatter on project milestone form
Browse files Browse the repository at this point in the history
[IMP] Code quality

[IMP] Code quality

[IMP] Code quality

[CHG] Module version
  • Loading branch information
lanto-razafindrabe committed Jun 11, 2024
1 parent af8d36a commit 2454656
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions project_milestone/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"author": "Patrick Wilson, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/project",
"category": "Project Management",
"version": "14.0.1.3.0",
"version": "14.0.1.4.0",
"license": "AGPL-3",
"depends": ["project"],
"depends": ["mail", "project"],
"data": [
"views/project.xml",
"views/project_task.xml",
Expand Down
1 change: 1 addition & 0 deletions project_milestone/models/project_milestone.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ class ProjectMilestone(models.Model):
_name = "project.milestone"
_order = "project_id,sequence"
_description = "Project Milestone"
_inherit = ["mail.thread", "mail.activity.mixin"]

name = fields.Char(string="Milestone", required=True)
target_date = fields.Date(help="The date when the Milestone should be complete.")
Expand Down
5 changes: 5 additions & 0 deletions project_milestone/views/project_milestone.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@
<field name="fold" />
</group>
</sheet>
<div class="oe_chatter">
+ <field name="message_follower_ids" groups="base.group_user" />
+ <field name="activity_ids" />
+ <field name="message_ids" />
</div>
</form>
</field>
</record>
Expand Down

0 comments on commit 2454656

Please sign in to comment.