diff --git a/product_manager_group/security/ir.model.access.csv b/product_manager_group/security/ir.model.access.csv index 9170bee..5a97834 100644 --- a/product_manager_group/security/ir.model.access.csv +++ b/product_manager_group/security/ir.model.access.csv @@ -1,7 +1,6 @@ id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink access_product_manager_product_product,Full access on product.product for Product Manager,product.model_product_product,group_product_manager,1,1,1,1 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_warehouse_orderpoint,Full access on orderpoints for Product Manager,stock.model_stock_warehouse_orderpoint,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 diff --git a/product_manager_group_stock/__init__.py b/product_manager_group_stock/__init__.py new file mode 100644 index 0000000..d233ab3 --- /dev/null +++ b/product_manager_group_stock/__init__.py @@ -0,0 +1,22 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Product Manager Group Stock 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 . +# +############################################################################## + diff --git a/product_manager_group_stock/__openerp__.py b/product_manager_group_stock/__openerp__.py new file mode 100644 index 0000000..db7683e --- /dev/null +++ b/product_manager_group_stock/__openerp__.py @@ -0,0 +1,45 @@ +# -*- encoding: utf-8 -*- +############################################################################## +# +# Product Manager Group Stock 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 . +# +############################################################################## + + +{ + 'name': 'Product Manager Group Stock', + 'version': '0.1', + 'category': 'Hidden', + 'license': 'AGPL-3', + 'summary': 'Extend the group Product Manager to Stock', + 'description': """ +Product Manager Group Stock +=========================== + +Extends the group Product Manager to Stock Management. + +Please contact Alexis de Lattre from Akretion for any help or question about this module. + """, + 'author': 'Akretion', + 'website': 'http://www.akretion.com', + 'depends': ['product_manager_group', 'stock'], + 'data': [ + 'security/ir.model.access.csv', + ], + 'active': False, +} diff --git a/product_manager_group_stock/security/ir.model.access.csv b/product_manager_group_stock/security/ir.model.access.csv new file mode 100644 index 0000000..2c45e74 --- /dev/null +++ b/product_manager_group_stock/security/ir.model.access.csv @@ -0,0 +1,2 @@ +id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink +access_product_manager_warehouse_orderpoint,Full access on orderpoints for Product Manager,stock.model_stock_warehouse_orderpoint,group_product_manager,1,1,1,1