IMP attachment_queue: allow to add activity

pull/2790/head
David Beal 2023-12-20 15:13:31 +01:00
parent d650568e45
commit 685a3c8536
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class AttachmentQueue(models.Model):
_name = "attachment.queue"
_description = "Attachment Queue"
_inherits = {"ir.attachment": "attachment_id"}
_inherit = ["mail.thread"]
_inherit = ["mail.thread", "mail.activity.mixin"]
attachment_id = fields.Many2one(
"ir.attachment",

View File

@ -40,6 +40,11 @@
<field name="state_message" nolabel="1" />
</group>
</group>
<xpath expr="//sheet" position="after">
<div class="oe_chatter">
<field name="activity_ids" widget="mail_activity" />
</div>
</xpath>
</field>
</record>