18 lines
737 B
Python
18 lines
737 B
Python
# -*- coding: utf-8 -*-
|
|
from odoo import fields, models
|
|
|
|
|
|
class ProductTemplate(models.Model):
|
|
_inherit = "product.template"
|
|
|
|
hover = fields.Selection([('basic', 'Basic Zoom'),
|
|
('tints', 'Tints'),
|
|
('inner', 'Ineer Zoom'),
|
|
('lens', 'Lens Zoom'),
|
|
('fade_in_out', 'Fade In/Fade Out'),
|
|
('easing', 'Easing'),
|
|
('mousewheel', 'Mousewheel Zoom'),
|
|
('horizontal', 'Change Zoom window horizontal'),
|
|
('vertical', 'Change Zoom window vertical'),
|
|
], string="Hover Effect")
|