mail/models/discuss/discuss_voice_metadata.py
Данил Воробьев 6e6f15d803 initial commit
2024-05-03 09:40:35 +00:00

13 lines
369 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class DiscussVoiceMetadata(models.Model):
_name = "discuss.voice.metadata"
_description = "Metadata for voice attachments"
attachment_id = fields.Many2one(
"ir.attachment", ondelete="cascade", auto_join=True, copy=False, index=True
)