# Copyright 2020 Raul Carbonell
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).

from odoo import api, fields, models, _


class ProductTemplateAttributeValueSage200(models.Model):
    _inherit = "product.template.attribute.value"

    descripcion = fields.Char(string="Descripción", )

    def name_get(self):
        return [(value.id, "%s: %s" % (value.attribute_id.name, value.product_attribute_value_id.descripcion)) for value in self]
