Skip to content

Commit

Permalink
[FIX] stock: limit access to replenishment menu
Browse files Browse the repository at this point in the history
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#62223

Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>
  • Loading branch information
d-fence authored and amoyaux committed Nov 24, 2020
1 parent daac5e3 commit d22daa8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion addons/stock/views/stock_orderpoint_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit d22daa8

Please sign in to comment.