Permalink
Browse files

[ADD] sale: add menu to product categories

It was already present in the accounting and purchase application but not in
sale menus.
Apply the same logic as in purchase and use a group_no_one

Closes #22862
  • Loading branch information...
moylop260 authored and len-odoo committed Aug 16, 2018
1 parent 8179960 commit a87d5a2b28214195d02ddadcad0584e0fdd0cedd
Showing with 5 additions and 0 deletions.
  1. +5 −0 addons/sale/views/sale_views.xml
@@ -67,6 +67,11 @@
<menuitem id="prod_config_main" name="Products" parent="menu_sale_config" sequence="5"/>
<menuitem id="menu_attribute_action" action="product.attribute_action" parent="prod_config_main" sequence="1" groups="product.group_product_variant" active="False"/>
<menuitem action="product.variants_action" id="menu_variants_action" parent="sale.prod_config_main" sequence="2" groups="product.group_product_variant" active="False"/>
<menuitem id="menu_product_category_config_sale"
action="product.product_category_action_form"
parent="sale.prod_config_main"
sequence="1"
groups="base.group_no_one"/>
<menuitem id="menu_products" action="product.product_normal_action_sell" parent="product_menu_catalog" groups="product.group_product_variant" sequence="2" active="False"/>
<menuitem id="next_id_16" name="Units of Measure" parent="sale.prod_config_main" sequence="6" groups="product.group_uom" active="False"/>
<menuitem action="product.product_uom_form_action" id="menu_product_uom_form_action" parent="sale.prod_config_main" sequence="7" groups="product.group_uom" active="False"/>

0 comments on commit a87d5a2

Please sign in to comment.