Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I want to learn more about the structure of Odoo, mainly to find out how I can import data. The best way to do that is through a python shell.
$ cd /opt/odoo
In : import openerp
In : openerp.modules.module?
[not much luck]
In : openerp.addons?
[not much luck either]
In : import openerp.addons.decimal_precision as dp # line from addons/product/product.py
ImportError: No module named decimal_precision
I'm guessing I need to somehow initialize `openerp.addons` so that it will contain all addon modules from the addons directory. I've been grepping through the source code but haven't found how this is done from `openerp.cli.main()`.
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
|Asked: 7/7/14, 4:52 PM|
|Seen: 4355 times|
|Last updated: 3/16/15, 8:10 AM|