[FIX] some catgories and complexity

bzr revid: al@openerp.com-20111004231832-8hx5233nm031nuhs
This commit is contained in:
Antony Lesuisse 2011-10-05 01:18:32 +02:00
parent 0815eff444
commit 3fe0d08772
4 changed files with 8 additions and 8 deletions

View File

@ -22,8 +22,7 @@
{
'name': 'Action Rule',
'version': '1.0',
'category': 'Base',
'complexity': "expert",
'category': 'Tools',
'description': """
This module allows to implement action rules for any object.
============================================================

View File

@ -43,6 +43,8 @@ DEFAULT_MODULES = {
'Marketing' : ['marketing',],
}
HIDDEN_CATEGORIES = ('Tools', 'System', 'Localization', 'Link', 'Uncategorized')
class base_setup_installer(osv.osv_memory):
_name = 'base.setup.installer'
@ -61,7 +63,7 @@ class base_setup_installer(osv.osv_memory):
fields = {}
category_proxy = self.pool.get('ir.module.category')
domain = [('parent_id', '=', False),
('name', 'not in', ('Localization', 'Others', 'Tools', 'Base', 'Link'))]
('name', 'not in', HIDDEN_CATEGORIES )]
category_ids = category_proxy.search(cr, uid, domain, context=context)
for category in category_proxy.browse(cr, uid, category_ids, context=context):
category_name = 'category_%d' % (category.id,)
@ -119,7 +121,7 @@ class base_setup_installer(osv.osv_memory):
module_category_proxy = self.pool.get('ir.module.category')
domain = [('parent_id', '=', False),
('name', 'not in', ('Localization', 'Others', 'Tools', 'Base', 'Link'))]
('name', 'not in', HIDDEN_CATEGORIES)]
module_category_ids = module_category_proxy.search(cr, uid, domain, context=context, order='sequence asc')
arch = ['<form string="%s">' % _('Automatic Base Setup')]

View File

@ -23,8 +23,8 @@
{
'name': 'Google user',
'version': '1.0',
'category': 'Others',
'description': """The module adds google user in res user""",
'category': 'Tools',
'description': """The module adds google user in res user""",
'author': 'OpenERP SA',
'website': 'http://www.openerp.com',
'depends': ['base'],

View File

@ -23,8 +23,7 @@
{
'name': 'Google Map',
'version': '1.0',
'category': 'Others',
'complexity': "easy",
'category': 'Tools',
'description': """
The module adds Google Map field in partner address.
====================================================