Odoo Help

4

2
2 Answers
6
Avatar

Daniel Reis Portugal

--Daniel Reis--
5389
| 8 9 11
Sintra, Portugal
--Daniel Reis--

Author of the "Odoo Development Essentials" book.

Managing Director at Open Source Integrators

Github: https://github.com/dreispt

Twitter; @reis_pt


Daniel Reis Portugal
2/14/13, 10:34 AM

The module category list is loaded from the file server/openerp/addons/base/module/module_data.xml.

You can also see it querying the ir_module_category Postgres table. This is what I found:

seq name
=== ================================
1   Customer Relationship Management
2   Sales Management
3   Project Management
4   Knowledge Management
5   Warehouse Management
6   Manufacturing
7   Invoicing & Payments
8   Accounting & Finance
9   Purchase Management
10  Human Resources
11  Extra Tools
12  Marketing
13  Point of Sale
14  Advanced Reporting

And since the category_id is a many2one field, no, you can't have more than one category for a module. Choose the most representative one (under which top menu will most of the menu options be?).

3 Comments
Camptocamp SA Switzerland
2/14/13, 10:55 AM

Daniel, Your answer is good, about where to find the list of category. However, you will find many modules, even in example that are registered in their __openerp__.py with multiple category. eg. any localization module.

'category': 'Localization/Account Charts'

Camptocamp SA Switzerland
2/14/13, 10:57 AM

For v6.1 those modules are tagged in multiple categories to be available on apps.openerp.com on multiple tags.

Camptocamp SA, Guewen Baconnier Switzerland
2/14/13, 11:28 AM

When you use a category which does not exist in your addon's manifest, it will be added in ir_module_category.

The module category could also be used for creating 'applications' (with security groups linked to the category). It can be interesting to approach this point.

2
Avatar

Yannick Vaucher Switzerland

--Yannick Vaucher--

1834
| 5 7 11
Lausanne, Switzerland
--Yannick Vaucher--


Yannick Vaucher Switzerland
2/14/13, 11:14 AM

Just for curiosity, here is the number of official module per category in addons.

  5                                  
 15  Accounting & Finance            
  1  Association                     
  2  Authentication                  
  7  Customer Relationship Management
  2  Generic Modules/Accounting      
 17  Hidden                          
 14  Hidden/Dependency               
 11  Human Resources                 
  4  Knowledge Management            
  4  Localization                    
 39  Localization/Account Charts     
  1  Localization/Payroll            
  1  Managing vehicles and contracts 
  6  Manufacturing                   
  4  Marketing                       
  1  Point Of Sale                   
  1  Portal                          
  9  Project Management              
  5  Purchase Management             
  2  Reporting                       
 13  Sales Management                
  1  Social Network                  
  2  Specific Industry Applications  
 34  Tools                           
  1  Uncategorized                   
  4  Warehouse Management

We can see some other category not listed in server/openerp/addons/base/module/module_data.xml

Here is the little command I did to get that information grep -rni category */__openerp__.py | cut -d":" -f4 | cut -d"," -f1 | tr -d "[',\"]" | sort | uniq -c

Ask a Question
Writer
Keep Informed
1 follower(s)
About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register
Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now