~vauxoo/addons-vauxoo/7.0-addons-vauxoo-pylint-datetime-dev-alan

« back to all changes in this revision

Viewing changes to purchase_requisition_for_everybody/__openerp__.py

 
[ADD] Added access rule in purchase requisition to avoid changes disabled on requisitions 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# -*- coding: utf-8 -*-
 
2
##############################################################################
 
3
#
 
4
#    OpenERP, Open Source Management Solution
 
5
#    Copyright (C) 2004-2010 Tiny SPRL (<http://tiny.be>).
 
6
#
 
7
#    This program is free software: you can redistribute it and/or modify
 
8
#    it under the terms of the GNU Affero General Public License as
 
9
#    published by the Free Software Foundation, either version 3 of the
 
10
#    License, or (at your option) any later version.
 
11
#
 
12
#    This program is distributed in the hope that it will be useful,
 
13
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
 
14
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
15
#    GNU Affero General Public License for more details.
 
16
#
 
17
#    You should have received a copy of the GNU Affero General Public License
 
18
#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
19
#
 
20
##############################################################################
 
21
{
 
22
    'name' : 'Purchase Requisition for Everybody',
 
23
    'version' : '1.0',
 
24
    'author' : 'Vauxoo C.A.',
 
25
    'category' : 'Security',
 
26
    'description' : """
 
27
 
 
28
Records Rule for Purchase_Requisition Module
 
29
============================================
 
30
 
 
31
Created 2 groups which are Requisition / User and Requisition / Manager and new purchase requisition menu to separate from purchase menu
 
32
 
 
33
With Requisition / User we can see only your own requisition and modify these
 
34
With Requisition / Manage  we can see whole requisition and modify these
 
35
 
 
36
You need any of those 2 groups for you can see the new purchase requisition menu
 
37
 
 
38
    """,
 
39
    'website': 'http://www.vauxoo.com',
 
40
    'images' : [],
 
41
    'depends' : ['base','purchase','purchase_requisition'],
 
42
    'data': [
 
43
        'security/requisition_security.xml',
 
44
        'view/purchase_requisition_view.xml',
 
45
    ],
 
46
    'js': [
 
47
    ],
 
48
    'qweb' : [
 
49
    ],
 
50
    'css':[
 
51
    ],
 
52
    'demo': [
 
53
],
 
54
    'test': [
 
55
],
 
56
    'installable': True,
 
57
    'auto_install': False,
 
58
}
 
59
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: