# Copyright 2019 Tecnativa - David Vidal
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models


class ResPartner(models.Model):
    _inherit = "res.partner"

    default_supplierinfo_discount1 = fields.Float(
        string="Default Supplier Discount 1 (%)",
        digits="Discount",
        help="This value will be used as the default one, for each new "
        "supplierinfo line depending on that supplier.",
    )

    default_supplierinfo_discount2 = fields.Float(
        string="Default Supplier Discount 2 (%)",
        digits="Discount",
        help="This value will be used as the default one, for each new "
        "supplierinfo line depending on that supplier.",
    )
    default_supplierinfo_discount3 = fields.Float(
        string="Default Supplier Discount 3 (%)",
        digits="Discount",
        help="This value will be used as the default one, for each new "
        "supplierinfo line depending on that supplier.",
    )
