# Copyright 2021 Criptomart
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).

from odoo import fields, models


class Company(models.Model):
    _inherit = 'res.company'

    use_parent_categories_to_determine_pos_categ = fields.Boolean(
        string="Use parent categories to determine the pos category",
        help="Use parent categories to determine the pos category if the category has no settings for the PoS category.",
    )
