diff --git a/mrp_no_product_template_menu/__init__.py b/mrp_no_product_template_menu/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/mrp_no_product_template_menu/__manifest__.py b/mrp_no_product_template_menu/__manifest__.py new file mode 100644 index 0000000..0cd26aa --- /dev/null +++ b/mrp_no_product_template_menu/__manifest__.py @@ -0,0 +1,29 @@ +# © 2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'MRP No Product Template Menu', + 'version': '12.0.1.0.0', + 'category': 'Manufacturing', + 'license': 'AGPL-3', + 'summary': "Replace product.template menu entries by product.product menu", + 'description': """ +MRP No Product Template +======================= + +This module replaces the menu entry for product.template by menu entries +for product.product in the *Manufacturing > Master Data* menu. + +This module also switches to the tree view by default +for Product menu entries, instead of the kanban view. + +This module has been written by Alexis de Lattre +from Akretion . + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['mrp', 'sale_purchase_no_product_template_menu'], + 'auto_install': True, + 'data': ['mrp_view.xml'], + 'installable': True, +} diff --git a/mrp_no_product_template_menu/mrp_view.xml b/mrp_no_product_template_menu/mrp_view.xml new file mode 100644 index 0000000..f875d15 --- /dev/null +++ b/mrp_no_product_template_menu/mrp_view.xml @@ -0,0 +1,20 @@ + + + + + + + Products + product.product + tree,form,kanban + {'search_default_consumable': 1, 'default_type': 'product'} + + + + + + + diff --git a/pos_no_product_template_menu/__init__.py b/pos_no_product_template_menu/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/pos_no_product_template_menu/__manifest__.py b/pos_no_product_template_menu/__manifest__.py new file mode 100644 index 0000000..e7ddd60 --- /dev/null +++ b/pos_no_product_template_menu/__manifest__.py @@ -0,0 +1,28 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +{ + 'name': 'POS No Product Template Menu', + 'version': '12.0.1.0.0', + 'category': 'Point of sale', + 'license': 'AGPL-3', + 'summary': "Replace product.template menu entries by product.product menu", + 'description': """ +POS No Product Template +======================= + +This module replaces the menu entry for product.template by menu entries +for product.product in the *Point Of Sale > Product* menu. + +This module also switches to the tree view by default +for Product menu entries, instead of the kanban view. + +This module has been written by David Béal +from Akretion . + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['point_of_sale', 'sale_purchase_no_product_template_menu'], + 'auto_install': True, + 'data': ['pos_view.xml'], + 'installable': True, +} diff --git a/pos_no_product_template_menu/pos_view.xml b/pos_no_product_template_menu/pos_view.xml new file mode 100644 index 0000000..2b9b78a --- /dev/null +++ b/pos_no_product_template_menu/pos_view.xml @@ -0,0 +1,16 @@ + + + + + + Products + product.product + tree,form,kanban + {'default_available_in_pos': True, 'search_default_filter_to_availabe_pos': 1} + + + + + + +