<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2023 Tecnativa - Ernesto Tejeda
     License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). -->
<odoo noupdate="1">
    <record id="group_stock_inventory_validation" model="res.groups">
        <field name="name">Validate Inventory Adjustments</field>
        <field name="category_id" ref="base.module_category_usability" />
    </record>
    <record id="group_stock_inventory_validation_always" model="res.groups">
        <field name="name">Validate Inventory Adjustments excceded threshold</field>
        <field name="category_id" ref="base.module_category_usability" />
        <field
            name="implied_ids"
            eval="[(4, ref('stock_inventory_discrepancy.group_stock_inventory_validation'))]"
        />
        <field name="users" eval="[(4, ref('base.user_root'))]" />
    </record>
    <record model="res.groups" id="stock.group_stock_manager">
        <field
            name="implied_ids"
            eval="[(4, ref('stock_inventory_discrepancy.group_stock_inventory_validation_always'))]"
        />
    </record>
</odoo>
