# © 2017 Akretion (http://www.akretion.com)
# @author Alexis de Lattre <alexis.delattre@akretion.com>
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import models, fields


class ResConfigSettings(models.TransientModel):
    _inherit = 'res.config.settings'

    mrp_production_auto_post_inventory = fields.Boolean(
        related='company_id.mrp_production_auto_post_inventory',
        readonly=False)

    mrp_production_auto_post_inventory_cron = fields.Boolean(
        related='company_id.mrp_production_auto_post_inventory_cron',
        readonly=False)
