diff --git a/pos_no_product_template_menu/__init__.py b/pos_no_product_template_menu/__init__.py deleted file mode 100644 index 40a96af..0000000 --- a/pos_no_product_template_menu/__init__.py +++ /dev/null @@ -1 +0,0 @@ -# -*- coding: utf-8 -*- diff --git a/pos_no_product_template_menu/__manifest__.py b/pos_no_product_template_menu/__manifest__.py deleted file mode 100644 index 68d5f40..0000000 --- a/pos_no_product_template_menu/__manifest__.py +++ /dev/null @@ -1,44 +0,0 @@ -# -*- coding: utf-8 -*- -############################################################################## -# -# POS No Product Template Menu module for Odoo -# Copyright (C) 2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - - -{ - 'name': 'POS No Product Template Menu', - 'version': '0.1', - 'category': 'Point Of Sale', - 'license': 'AGPL-3', - 'summary': "Remplace product.template menu entry by product.product in POS", - 'description': """ -POS No Product Template -======================= - -This module replaces the menu entry for product.template by a menu entry for product.product in the *Point of Sale*. - -This module has been written by Alexis de Lattre from Akretion . - """, - 'author': 'Akretion', - 'website': 'http://www.akretion.com', - 'depends': ['point_of_sale', 'pos_usability'], - # pos_usability is required to have the filter available_in_pos - 'data': ['view.xml'], - 'installable': False, -} diff --git a/pos_no_product_template_menu/view.xml b/pos_no_product_template_menu/view.xml deleted file mode 100644 index 7c92b95..0000000 --- a/pos_no_product_template_menu/view.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - Products - product.product - tree,form,kanban - {'search_default_available_in_pos': 1} - - - - - - - - diff --git a/product_manager_group/__manifest__.py b/product_manager_group/__manifest__.py index 08ea4d7..f31a3cb 100644 --- a/product_manager_group/__manifest__.py +++ b/product_manager_group/__manifest__.py @@ -1,25 +1,6 @@ -# -*- encoding: utf-8 -*- -############################################################################## -# -# Product Manager Group module for OpenERP -# Copyright (C) 2014 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - +# -*- coding: utf-8 -*- +# © 2014-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Product Manager Group', @@ -42,5 +23,5 @@ Please contact Alexis de Lattre from Akretion for 'security/product_security.xml', 'security/ir.model.access.csv', ], - 'active': False, + 'active': True, } diff --git a/product_manager_group/security/ir.model.access.csv b/product_manager_group/security/ir.model.access.csv index 5a97834..85306fc 100644 --- a/product_manager_group/security/ir.model.access.csv +++ b/product_manager_group/security/ir.model.access.csv @@ -3,6 +3,5 @@ access_product_manager_product_product,Full access on product.product for Produc access_product_manager_product_template,Full access on product.template for Product Manager,product.model_product_template,group_product_manager,1,1,1,1 access_product_manager_product_category,Full access on product.category for Product Manager,product.model_product_category,group_product_manager,1,1,1,1 access_product_manager_product_supplierinfo,Full access on product.supplierinfo for Product Manager,product.model_product_supplierinfo,group_product_manager,1,1,1,1 -access_product_manager_pricelist_partnerinfo,Full access on pricelist.partnerinfo for Product Manager,product.model_pricelist_partnerinfo,group_product_manager,1,1,1,1 access_product_manager_product_attribute,Full access on product.attribute for Product Manager,product.model_product_attribute,group_product_manager,1,1,1,1 access_product_manager_product_attribute_value,Full access on product.attribute.value for Product Manager,product.model_product_attribute_value,group_product_manager,1,1,1,1 diff --git a/product_manager_group/security/product_security.xml b/product_manager_group/security/product_security.xml index a0331f3..c2f6a3c 100644 --- a/product_manager_group/security/product_security.xml +++ b/product_manager_group/security/product_security.xml @@ -1,11 +1,9 @@ - - + Product Manager - - + diff --git a/sale_purchase_no_product_template_menu/__manifest__.py b/sale_purchase_no_product_template_menu/__manifest__.py index 4f1f71f..0281a3b 100644 --- a/sale_purchase_no_product_template_menu/__manifest__.py +++ b/sale_purchase_no_product_template_menu/__manifest__.py @@ -1,25 +1,6 @@ # -*- coding: utf-8 -*- -############################################################################## -# -# Sale Purchase No Product Template Menu module for Odoo -# Copyright (C) 2015 Akretion (http://www.akretion.com) -# @author Alexis de Lattre -# -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU Affero General Public License as -# published by the Free Software Foundation, either version 3 of the -# License, or (at your option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Affero General Public License for more details. -# -# You should have received a copy of the GNU Affero General Public License -# along with this program. If not, see . -# -############################################################################## - +# © 2015-2016 Akretion (Alexis de Lattre ) +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). { 'name': 'Sale Purchase No Product Template Menu', @@ -39,7 +20,11 @@ This module has been written by Alexis de Lattre from Akretion - - + @@ -22,7 +21,7 @@ - + @@ -42,7 +41,7 @@ so I redefine a new menu entry --> - + @@ -56,7 +55,7 @@ entry and link it to product product --> + parent="sale.prod_config_main"/> @@ -64,11 +63,14 @@ entry and link it to product product --> + + +--> - - +