From 47e7b2c78fbcd27230ff1969f75d5e3971670a52 Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Sun, 17 Oct 2010 23:30:29 +0200 Subject: [PATCH] [IMP] Access rights and __openerp__ cleaning bzr revid: fp@tinyerp.com-20101017213029-79yh7xvz06ii8dgo --- addons/account_voucher/__openerp__.py | 2 +- addons/base_synchro/__openerp__.py | 2 +- addons/document_email/__openerp__.py | 1 - addons/email_template/__openerp__.py | 2 +- addons/fetchmail/__openerp__.py | 1 - addons/hr_payroll/__openerp__.py | 2 +- addons/hr_payroll_account/__openerp__.py | 2 +- addons/procurement/security/ir.model.access.csv | 4 +++- addons/project/project.py | 2 +- addons/project/project_view.xml | 6 ++---- addons/project_gtd/project_gtd.py | 9 +++++---- addons/purchase/security/ir.model.access.csv | 2 +- addons/sale/security/ir.model.access.csv | 3 ++- addons/stock/stock_view.xml | 6 +++--- 14 files changed, 22 insertions(+), 22 deletions(-) diff --git a/addons/account_voucher/__openerp__.py b/addons/account_voucher/__openerp__.py index 683cca2..ce5cd60 100644 --- a/addons/account_voucher/__openerp__.py +++ b/addons/account_voucher/__openerp__.py @@ -22,7 +22,7 @@ { "name" : "Accounting Voucher Entries", "version" : "1.0", - "author" : 'OpenERP SA & Axelor', + "author" : 'OpenERP SA', "description": """Account Voucher module includes all the basic requirements of Voucher Entries for Bank, Cash, Sales, Purchase, Expanse, Contra, etc... * Voucher Entry diff --git a/addons/base_synchro/__openerp__.py b/addons/base_synchro/__openerp__.py index bd28582..3bb4682 100644 --- a/addons/base_synchro/__openerp__.py +++ b/addons/base_synchro/__openerp__.py @@ -22,7 +22,7 @@ { "name":"Base Synchro", "version":"0.1", - "author":"Tiny", + "author":"OpenERP SA", "category":"Generic Modules/Base", "description": """Synchronization with all objects.""", "depends":["base"], diff --git a/addons/document_email/__openerp__.py b/addons/document_email/__openerp__.py index 0348665..6f61ba6 100644 --- a/addons/document_email/__openerp__.py +++ b/addons/document_email/__openerp__.py @@ -25,7 +25,6 @@ "name" : "Email Integrated Document", "version" : "1.1", "depends" : ["base", "document", "fetchmail","mail_gateway"], - "author" : "Tiny", "description": """Email Integrated Document * Email based Document submission * user based document submission diff --git a/addons/email_template/__openerp__.py b/addons/email_template/__openerp__.py index 9469104..d5f5e97 100644 --- a/addons/email_template/__openerp__.py +++ b/addons/email_template/__openerp__.py @@ -23,7 +23,7 @@ { "name" : "Email Template for OpenERP", "version" : "0.7 RC", - "author" : "Sharoon Thomas, Openlabs", + "author" : "Openlabs", "website" : "http://openerp.com", "category" : "Added functionality", "depends" : ['marketing'], diff --git a/addons/fetchmail/__openerp__.py b/addons/fetchmail/__openerp__.py index 94dbdf4..e9050fd 100644 --- a/addons/fetchmail/__openerp__.py +++ b/addons/fetchmail/__openerp__.py @@ -33,7 +33,6 @@ * Automatic Email Receive * Email based Records (Add, Update) """, - 'author': 'Tiny', 'website': 'http://www.openerp.com', 'init_xml': [], 'update_xml': [ diff --git a/addons/hr_payroll/__openerp__.py b/addons/hr_payroll/__openerp__.py index c9339ce..65b593c 100644 --- a/addons/hr_payroll/__openerp__.py +++ b/addons/hr_payroll/__openerp__.py @@ -33,7 +33,7 @@ * Monthly Payroll Register * Integrated with Holiday Management """, - 'author':'OpenERP SA/Axelor', + 'author':'OpenERP SA', 'website':'http://www.openerp.com', 'depends': [ 'hr', diff --git a/addons/hr_payroll_account/__openerp__.py b/addons/hr_payroll_account/__openerp__.py index 97ae94a..d65570a 100644 --- a/addons/hr_payroll_account/__openerp__.py +++ b/addons/hr_payroll_account/__openerp__.py @@ -28,7 +28,7 @@ * Payment Encoding * Company Contribution Management """, - 'author':'OpenERP SA/Axelor', + 'author':'OpenERP SA', 'website':'http://www.openerp.com', 'depends': [ 'hr_payroll', diff --git a/addons/procurement/security/ir.model.access.csv b/addons/procurement/security/ir.model.access.csv index 5bf81a0..382543c 100644 --- a/addons/procurement/security/ir.model.access.csv +++ b/addons/procurement/security/ir.model.access.csv @@ -1,6 +1,8 @@ "id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink" "access_procurement","procurement.order","model_procurement_order","base.group_user",1,0,0,0 -"access_stock_warehouse_orderpoint","stock.warehouse.orderpoint","model_stock_warehouse_orderpoint","stock.group_stock_manager",1,1,1,1 +"access_procurement_stock_manager","procurement.order stock.manager","model_procurement_order","stock.group_stock_manager",1,1,1,1 +"access_procurement_stock_user","procurement.order stock.user","model_procurement_order","stock.group_stock_user",1,1,1,1 +"access_stock_warehouse_orderpoint","stock.warehouse.orderpoint","model_stock_warehouse_orderpoint","stock.group_stock_user",1,1,1,1 "access_stock_warehouse_orderpoint_system","stock.warehouse.orderpoint system","model_stock_warehouse_orderpoint","stock.group_stock_manager",1,1,1,1 "access_mrp_property_group","mrp.property.group","model_mrp_property_group","stock.group_stock_manager",1,1,1,1 "access_mrp_property","mrp.property","model_mrp_property","stock.group_stock_manager",1,1,1,1 diff --git a/addons/project/project.py b/addons/project/project.py index 640df90..e608457 100644 --- a/addons/project/project.py +++ b/addons/project/project.py @@ -402,7 +402,7 @@ class task(osv.osv): 'description': fields.text('Description'), 'priority': fields.selection([('4','Very Low'), ('3','Low'), ('2','Medium'), ('1','Urgent'), ('0','Very urgent')], 'Priority'), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of tasks."), - 'type_id': fields.many2one('project.task.type', 'Type',), + 'type_id': fields.many2one('project.task.type', 'Stage'), 'state': fields.selection([('draft', 'Draft'),('open', 'In Progress'),('pending', 'Pending'), ('cancelled', 'Cancelled'), ('done', 'Done')], 'State', readonly=True, required=True, help='If the task is created the state is \'Draft\'.\n If the task is started, the state becomes \'In Progress\'.\n If review is needed the task is in \'Pending\' state.\ \n If the task is over, the states is set to \'Done\'.'), diff --git a/addons/project/project_view.xml b/addons/project/project_view.xml index a69903c..8cf2622 100644 --- a/addons/project/project_view.xml +++ b/addons/project/project_view.xml @@ -311,7 +311,7 @@ - +