| 1 | # Part of Odoo. See LICENSE file for full copyright and licensing details. |
| 2 | |
| 3 | from odoo import fields, models |
| 4 | |
| 5 | |
| 6 | class DiscussVoiceMetadata(models.Model): |
| 7 | _name = 'discuss.voice.metadata' |
| 8 | _description = "Metadata for voice attachments" |
| 9 | |
| 10 | attachment_id = fields.Many2one( |
| 11 | "ir.attachment", ondelete="cascade", bypass_search_access=True, copy=False, index=True |
| 12 | ) |