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 am able to do this in python like this:
from openerp.tools.config import config class my_test(osv.osv): _name = "my_test" dbUser = config.get("db_user") print "Database user >>> " + dbUser my_test()
and It is working fine,
I have two questions now:
Any suggestions on how to do this?
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: 3/23/14, 2:41 PM|
|Seen: 1196 times|
|Last updated: 10/5/16, 5:45 AM|