9 lines
296 B
Python
9 lines
296 B
Python
# models/preview_wizard.py
|
|
from odoo import models, fields, api
|
|
|
|
class AttachmentPreviewWizard(models.TransientModel):
|
|
_name = 'attachment.preview.wizard'
|
|
_description = 'Attachment Preview Wizard'
|
|
|
|
attachment_id = fields.Many2one('ir.attachment', string='Attachment', required=True)
|