Add module product_manager_group_stock Fix dependancies

This commit is contained in:
Alexis de Lattre
2014-10-03 11:17:10 +02:00
committed by Alexis de Lattre
parent 8abc01fac6
commit d71b1fe7b8
4 changed files with 69 additions and 1 deletions

View File

@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_product_manager_product_product Full access on product.product for Product Manager product.model_product_product group_product_manager 1 1 1 1
3 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
4 access_product_manager_product_category Full access on product.category for Product Manager product.model_product_category group_product_manager 1 1 1 1
5 access_product_manager_product_supplierinfo Full access on product.supplierinfo for Product Manager product.model_product_supplierinfo group_product_manager 1 1 1 1
6 access_product_manager_pricelist_partnerinfo Full access on pricelist.partnerinfo for Product Manager product.model_pricelist_partnerinfo group_product_manager 1 1 1 1

View File

@@ -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 <alexis.delattre@akretion.com>
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################

View File

@@ -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 <alexis.delattre@akretion.com>
#
# 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 <http://www.gnu.org/licenses/>.
#
##############################################################################
{
'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 <alexis.delattre@akretion.com> 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,
}

View File

@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
2 access_product_manager_warehouse_orderpoint Full access on orderpoints for Product Manager stock.model_stock_warehouse_orderpoint group_product_manager 1 1 1 1