add activities to wiki pages

This commit is contained in:
Jordi Ballester Alomar 2019-03-05 17:35:48 +01:00 committed by Justine Doutreloux
parent 729913c1f1
commit a0e03bbf07
2 changed files with 2 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class DocumentPage(models.Model):
"""This class is use to manage Document."""
_name = "document.page"
_inherit = ['mail.thread']
_inherit = ['mail.thread', 'mail.activity.mixin']
_description = "Document Page"
_order = 'name'

View File

@ -84,6 +84,7 @@
</sheet>
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers"/>
<field name="activity_ids" widget="mail_activity"/>
<field name="message_ids" widget="mail_thread"/>
</div>
</form>