Comment by elver.loho: With the current version of Tryton, the following hack has to be made:
from trytond.config import CONFIG CONFIG.configfile = "/etc/trytond.conf" CONFIG.load()Here's a patch to trytond/config.py that will load the standard configuration file properly:
http://codereview.appspot.com/1692048/diff/1/2 For more information: http://code.google.com/p/tryton/wiki/HowToUseTrytondAsAModule -- [email protected] mailing list
