PORT v12
This commit is contained in:
@@ -1 +0,0 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
|
||||
{
|
||||
'name': 'Sale Purchase No Product Template Menu',
|
||||
'version': '10.0.1.0.0',
|
||||
'version': '12.0.1.0.0',
|
||||
'category': 'Sale and Purchase',
|
||||
'license': 'AGPL-3',
|
||||
'summary': "Remplace product.template menu entries by product.product menu entries",
|
||||
'summary': "Replace product.template menu entries by product.product menu entries",
|
||||
'description': """
|
||||
Sale Purchase No Product Template
|
||||
=================================
|
||||
@@ -23,7 +23,6 @@ This module has been written by Alexis de Lattre from Akretion <alexis.delattre@
|
||||
'depends': [
|
||||
'purchase',
|
||||
'sale',
|
||||
#'base_usability',
|
||||
],
|
||||
'data': ['view.xml'],
|
||||
'installable': True,
|
||||
|
||||
@@ -20,12 +20,6 @@
|
||||
<field name="action" ref="product_product_action_purchased"/>
|
||||
</record>
|
||||
|
||||
<!-- menu entry "Accounting > Purchases > Purchasable Products -->
|
||||
<record id="purchase.menu_product_normal_action_puchased" model="ir.ui.menu">
|
||||
<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"/>
|
||||
@@ -59,11 +53,6 @@ entry and link it to product product -->
|
||||
<field name="context">{}</field>
|
||||
</record>
|
||||
|
||||
<!-- ACCOUNT -->
|
||||
<record id="account.menu_product_template_action" model="ir.ui.menu">
|
||||
<field name="action" ref="product_product_action_sell"/>
|
||||
</record>
|
||||
|
||||
|
||||
<!-- Create a product template menu entry in configuration -->
|
||||
<menuitem id="sale_config_product_template_menu" action="product.product_template_action"
|
||||
@@ -74,11 +63,5 @@ entry and link it to product product -->
|
||||
<field name="view_mode">tree,form,kanban</field>
|
||||
</record>
|
||||
|
||||
<!-- Hide native 'Product Variants' menu -->
|
||||
<!--
|
||||
<record id="product.menu_products" model="ir.ui.menu">
|
||||
<field name="groups_id" eval="[(6, 0, [ref('base_usability.group_nobody')])]"/>
|
||||
</record>
|
||||
-->
|
||||
|
||||
</odoo>
|
||||
|
||||
Reference in New Issue
Block a user