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
This commit is contained in:
Alexis de Lattre
2016-10-24 15:33:18 +02:00
parent 72e355e17c
commit fdde407c9d
3 changed files with 6 additions and 28 deletions

View File

@@ -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 <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/>.
#
##############################################################################
# -*- coding: utf-8 -*-
# © 2014-2016 Akretion (Alexis de Lattre <alexis.delattre@akretion.com>)
# 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 <alexis.delattre@akretion.com> for
'security/product_security.xml',
'security/ir.model.access.csv',
],
'active': False,
'active': True,
}

View File

@@ -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
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
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
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
access_product_manager_pricelist_partnerinfo Full access on pricelist.partnerinfo for Product Manager product.model_pricelist_partnerinfo group_product_manager 1 1 1 1
6 access_product_manager_product_attribute Full access on product.attribute for Product Manager product.model_product_attribute group_product_manager 1 1 1 1
7 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

View File

@@ -1,11 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<openerp>
<data>
<odoo>
<record id="group_product_manager" model="res.groups">
<field name="name">Product Manager</field>
<field name="users" eval="[(4, ref('base.user_root'))]"/>
</record>
</data>
</openerp>
</odoo>