[FIX] stock: limit access to replenishment menu

The replenishment menu is available even for users that are not allowed
to use it. This causes the click_all test to fail with a warning.

closes odoo/odoo#62232

X-original-commit: d22daa8baa78fdcc9202657ab94e849f5690187f
Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
This commit is contained in:
Christophe Monniez
2020-11-24 10:14:20 +00:00
committed by Arnold Moyaux
parent e61e5b5110
commit 3a918898e8
@@ -236,7 +236,8 @@
<menuitem
id="menu_reordering_rules_replenish"
action="action_replenishment"
name="Replenishment" parent="menu_stock_warehouse_mgmt" sequence="10"/>
name="Replenishment" parent="menu_stock_warehouse_mgmt" sequence="10"
groups="stock.group_stock_manager"/>
<menuitem
id="menu_reordering_rules_config"
action="action_orderpoint"