Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[12.0][ADD] project_milestone: Enable chatter on project milestone form #1287

Open
wants to merge 1 commit into
base: 12.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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': '12.0.1.0.0',
'version': '12.0.1.0.1',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version shouldn’t be modified as it will be done at merge

'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
Loading