46
46
'serialized': fields.boolean('Field serialized', help="If serialized, the field will be stocked in the serialized field : attribute_custom_tmpl or attribute_custom_variant depending on the field based_on"),
47
47
'based_on': fields.selection([('product_template','Product Template'),('product_product','Product Variant')],'Based on', required=True),
48
48
'option_ids': fields.one2many('attribute.option', 'attribute_id', 'Attribute Option'),
51
52
def create(self, cr, uid, vals, context=None):