@ -22,6 +22,7 @@
'depends': [
'base',
'web',
'mail',
],
'data': [
@ -11,6 +11,7 @@ class Document(models.Model):
_name = 'easy_my_coop.document'
_description = "Document"
_order = 'document_date desc, name'
_inherit = 'mail.thread'
name = fields.Char("Name", required=True)
description = fields.Text("Description")
@ -34,6 +34,11 @@
<field name="publication_date" readonly="True"/>
</group>
</sheet>
<!-- Communication -->
<div class="oe_chatter">
<field name="message_follower_ids" widget="mail_followers" />
<field name="message_ids" widget="mail_thread" />
</div>
</form>
</field>
</record>