Skip to Content
Menu
This question has been flagged
3 Replies
8811 Views

I would like to see source code examples of how to use an odoo function.  Is there a searchable index available?

Avatar
Discard
Author Best Answer

The initOS team has announced a new project:
www.odoo-code-search.com

They index almost all Odoo (and OpenERP) repositories that can be found on GitHub and Launchpad and you are able to search on three levels.

Full Text Search:

Provides a full text index of module description and name.

Examples:

Module Meta Data:

Ability to search specific fields of the __openerp__ description file of each module

Examples:

Module Code & Data:

Ability to search for models, fields, methods, views and data inside the module

Examples:

The idea is to give the (open source) community a tool to cooperate and work together. So maybe you are looking if someone is migrating the magento connector to a new version so that you can work together and support them. Instead of asking the mailing list for the 20th time, just ask the code:

Search: magento version:8.0 

Or if you want to learn how to overwrite a special function, for example from a sale.order to generate a stock.picking, then you can search how other people deal with this, to improve your skills:

Search: inherit:sale.order method:_prepare_order_line_procurement 

The aim with this tool to give you an advantage if you publish your code and work together the open source way. Fancier features can be added in future. For example GitHub integration "this module has an open pull request for OCA, please review and help" Or include travis to see that this code we find is working correctly.

This is under development, so there may be some missing code or some parts not yet working, but the plan is to continue working on this project. If you like it and it makes your work easier, so that we all can build the best open source eco system together, send them a message thanking them.

Markus and initOS Developer Team 

Note: You can suggest a source code repository be added to the index by emailing:
mail@odoo-code-search.com

Avatar
Discard
Best Answer

Very helpful when will be fully working, now the server can't process any of my queries...

Here we go: results
An error occurred. The server could not process your query.

Avatar
Discard
Related Posts Replies Views Activity
1
Mar 15
7445
2
Oct 15
8009
0
Oct 18
5331
2
Apr 24
586
0
Sep 23
1026