hide_attribute.py 187 B

1234567
  1. # -*- coding:utf-8 -*-
  2. from openerp import models, fields,api
  3. class product_attribute(models.Model):
  4. _inherit='product.attribute'
  5. active= fields.Boolean('Activo', default=True)