Add module stock_no_product_template_menu

This commit is contained in:
Alexis de Lattre
2019-09-30 22:44:05 +02:00
parent 33f67279fb
commit 92a4b0d6ac
5 changed files with 43 additions and 6 deletions

View File

@@ -12,7 +12,7 @@
Sale Purchase No Product Template
=================================
This module replaces the menu entries for product.template by menu entries for product.product in the *Sales*, *Purchases* and *Warehouse* menu entry. With this module, the only menu entry for product.template is in the menu *Sales > Configuration > Product Categories and Attributes*.
This module replaces the menu entries for product.template by menu entries for product.product in the *Sales* and *Purchases* menu entries. With this module, the only menu entry for product.template is in the menu *Sales > Configuration > Product Categories and Attributes*.
This module also switches to the tree view by default for Product menu entries, instead of the kanban view.

View File

@@ -21,11 +21,6 @@
<field name="action" ref="product_product_action_purchased"/>
</record>
<!-- STOCK -->
<record id="stock.menu_product_variant_config_stock" model="ir.ui.menu">
<field name="action" ref="product.product_normal_action"/>
</record>
<!-- SALE -->
<!-- I'd prefer to inherit product.product_normal_action_sell and
change the "name" field, but it doesn't work with translation,