Skip to content

Commit

Permalink
[ADD] Enable chatter on project milestone form
Browse files Browse the repository at this point in the history
[CHG] project_milestone : module version
  • Loading branch information
lanto-razafindrabe committed Sep 3, 2024
1 parent 9e398ba commit 81c01f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion project_milestone/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'category': 'Project Management',
'version': '12.0.1.0.0',
'license': 'AGPL-3',
'depends': ['project', 'project_stage_closed'],
'depends': ['mail', 'project', 'project_stage_closed'],
'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 @@ -5,6 +5,7 @@

class ProjectMilestone(models.Model):
_name = 'project.milestone'
_inherit = ['mail.thread', 'mail.activity.mixin']
_order = 'project_id,sequence'
_description = 'Project Milestone'

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 @@ -50,6 +50,11 @@
<field name="fold"/>
</group>
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="activity_ids" />
<field name="message_ids" widget="mail_thread" />
</div>
</form>
</field>
</record>
Expand Down

0 comments on commit 81c01f2

Please sign in to comment.