12 lines
312 B
Python
12 lines
312 B
Python
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||
|
|
||
|
from odoo import models, fields
|
||
|
|
||
|
|
||
|
class ProductAttribute(models.Model):
|
||
|
_inherit = 'product.attribute'
|
||
|
|
||
|
visibility = fields.Selection(
|
||
|
selection=[('visible', "Visible"), ('hidden', "Hidden")],
|
||
|
default='visible')
|