From fdde407c9d569462d04ab32af940679426396418 Mon Sep 17 00:00:00 2001 From: Alexis de Lattre Date: Mon, 24 Oct 2016 15:33:18 +0200 Subject: [PATCH] Rapid (partial ?) port of product_manager_group and sale_purchase_no_product_template_menu to v10 pos_no_product_template_menu is useless in v10 -> remove it --- product_manager_group/__manifest__.py | 27 +++---------------- .../security/ir.model.access.csv | 1 - .../security/product_security.xml | 6 ++--- 3 files changed, 6 insertions(+), 28 deletions(-) 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 - - +