Odoo Help

Welcome!

This community 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.

0

Is there a searchable index of odoo source code?

By
Stephen Mack
on 5/30/15, 9:08 AM 1,481 views

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

2

Stephen Mack

--Stephen Mack--
5023
| 8 8 9
Santiago, Chile
--Stephen Mack--

Some people call me a karma whore, I only ask for 10 points if you like my answer and 15 if I happen to get it correct.

Stephen Mack
On 5/30/15, 9:21 AM

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

Nice !

Jérémy Kersten (jke)
on 5/30/15, 10:18 AM
0
FEDERICO LEONI
On 6/5/15, 7:48 PM

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.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

2 follower(s)

Stats

Asked: 5/30/15, 9:08 AM
Seen: 1481 times
Last updated: 5/27/16, 1:51 AM