# Copyright 2016-20 ForgeFlow S.L. (http://www.forgeflow.com)
# Copyright 2016 Aleph Objects, Inc. (https://www.alephobjects.com/)
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html).

from odoo import fields, models


class StockBufferProfileLeadTime(models.Model):
    _name = "stock.buffer.profile.lead.time"
    _description = "Stock Buffer Profile Lead Time Factor"

    name = fields.Char(required=True)
    factor = fields.Float(string="Lead Time Factor", required=True)
    company_id = fields.Many2one(
        "res.company",
        "Company",
    )
